From 6413fcde4fe0272eee469aaf41c8bb1d6e6a270f Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 17 Aug 2018 11:44:39 +0200 Subject: Add --with-nonshared-cflags option to configure --- Makeconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 099f184088..92e76d6200 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 -- cgit v1.2.3-70-g09d2