INN commit: branches/2.6 (Makefile.global.in configure.ac)
INN Commit
rra at isc.org
Mon Jan 4 10:02:53 UTC 2021
Date: Monday, January 4, 2021 @ 02:02:52
Author: iulius
Revision: 10485
Fix build issue when using "make warnings"
-fPIE was not present when needed when using "make warnings",
causing various problems.
Modified:
branches/2.6/Makefile.global.in
branches/2.6/configure.ac
--------------------+
Makefile.global.in | 2 +-
configure.ac | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
Modified: Makefile.global.in
===================================================================
--- Makefile.global.in 2021-01-04 07:12:59 UTC (rev 10484)
+++ Makefile.global.in 2021-01-04 10:02:52 UTC (rev 10485)
@@ -108,7 +108,7 @@
-Wmissing-prototypes -Wmissing-declarations \
-Wmissing-format-attribute \
-Wnormalized=nfc -Wnested-externs -Winline \
- -Winvalid-pch -Wvla -Wno-unused-function
+ -Winvalid-pch -Wvla -Wno-unused-function @CC_WARNINGS@
## Some warnings have to be suppressed for Perl, since there's no way to work
## around the Perl header problems in INN code.
Modified: configure.ac
===================================================================
--- configure.ac 2021-01-04 07:12:59 UTC (rev 10484)
+++ configure.ac 2021-01-04 10:02:52 UTC (rev 10485)
@@ -632,6 +632,7 @@
[LDFLAGS="${LDFLAGS} -Wl,-z,relro"], [])
INN_PROG_LD_FLAG([-Wl,-z,now],
[LDFLAGS="${LDFLAGS} -Wl,-z,now"], [])])
+AC_SUBST([CC_WARNINGS])
dnl Clean up our LIBS, just for grins.
LIBS=`echo "$LIBS" | sed 's/^ *//' | sed 's/ */ /g' | sed 's/ *$//'`
More information about the inn-committers
mailing list