summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-15 07:44:34 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-15 07:44:34 +0000
commitecbc93c3990cf2ed89a62639139ab89e68037a3f (patch)
tree3016549ac0c94b87e885f90db1994d1c38d4dc89 /libc
parenteb37884f7f33a81ec7dae0859d269a6b25ff8e36 (diff)
Patch from Peter Kjellerstedt to make it simpler for arches to specify
either -fPIC or -fpic
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index 064626050..f308856ec 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -45,7 +45,7 @@ SAFECFLAGS=$(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS) $(CPU_CFLAGS) -fno-built
#
SAFECFLAGS := $(subst -g,,$(SAFECFLAGS))
ifeq ($(strip $(DOPIC)),y)
-SAFECFLAGS+=-fPIC
+SAFECFLAGS+=$(PICFLAG)
endif
ifeq ($(strip $(UCLIBC_PROFILING)),y)
SAFECFLAGS+=-DGMON_SUPPORT