aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-08-17 11:44:39 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-08-17 11:44:39 +0200
commit6413fcde4fe0272eee469aaf41c8bb1d6e6a270f (patch)
tree5d9ed44268cebf689da7fceafa88371b524a8027 /Makeconfig
parent93a2584cd2ffb2a6e4b17682ba250889059f5d8b (diff)
downloadglibc-6413fcde4fe0272eee469aaf41c8bb1d6e6a270f.zip
glibc-6413fcde4fe0272eee469aaf41c8bb1d6e6a270f.tar.gz
glibc-6413fcde4fe0272eee469aaf41c8bb1d6e6a270f.tar.bz2
Add --with-nonshared-cflags option to configure
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 099f184..92e76d6 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -1038,7 +1038,7 @@ object-suffixes-for-libc += .oS
# Must build the routines as PIC, though, because they can end up in (users')
# shared objects. We don't want to use CFLAGS-os because users may, for
# example, make that processor-specific.
-CFLAGS-.oS = $(CFLAGS-.o) $(PIC-ccflag)
+CFLAGS-.oS = $(CFLAGS-.o) $(PIC-ccflag) $(extra-nonshared-cflags)
CPPFLAGS-.oS = $(CPPFLAGS-.o) -DPIC -DLIBC_NONSHARED=1
libtype.oS = lib%_nonshared.a
endif