summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common')
-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