From 99e36b6dd15293c35c75298c5afff481879dd13c Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Tue, 21 Mar 2000 19:03:51 +0000 Subject: [PATCH] Added -fPIC -D_REENTRANT for gnu compiler builds. --- config/CONFIG_COMMON | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/CONFIG_COMMON b/config/CONFIG_COMMON index 238484165..2053d4235 100644 --- a/config/CONFIG_COMMON +++ b/config/CONFIG_COMMON @@ -76,6 +76,7 @@ EPICS_BASE_BIN = $(EPICS_BASE)/bin/$(T_A) GCC_ANSI = $(GCC) -ansi GCC_STRICT = $(GCC) -ansi -pedantic GCC_TRAD = $(GCC) -traditional +GCC_DEP_CFLAGS = -fPIC -D_REENTRANT GCC_WARN_YES = -Wall GCC_WARN_NO = -w GCC_OPT_YES = -O @@ -84,13 +85,14 @@ GCC_SFLAGS_YES = -static GCC_SFLAGS_NO = GCC_SLIBS_YES = GCC_SLIBS_NO = -GCC_SHRLIB_CFLAGS_YES = -fPIC +GCC_SHRLIB_CFLAGS_YES = GCC_SHRLIB_LDFLAGS_YES = -shared G++_NORMAL = $(G++) -ansi -pedantic G++_STRICT = $(G++) -ansi -pedantic -Wtraditional G++_TRAD = $(G++) -traditional G++_TEMPL_INST_FLAG = -DEXPL_TEMPL +G++_DEP_CFLAGS = -fPIC -D_REENTRANT G++_WARN_YES = -Wall \ -Wmissing-prototypes -Woverloaded-virtual \ -Wwrite-strings -Wconversion -Wstrict-prototypes\ @@ -103,7 +105,7 @@ G++_SFLAGS_NO = G++_SLIBS_YES = G++_SLIBS_NO = G++_DEPENDS_FLAG = -MM -G++_SHRLIB_CFLAGS_YES = -fPIC +G++_SHRLIB_CFLAGS_YES = G++_SHRLIB_LDFLAGS_YES = -shared #--------------------------------------------------