commit efa25887b869b3d5c771c7457044a4e333ae9bc1 parent 347f8a8a14e3fb736ea6f42c7a0da1a0472f947f Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Tue, 20 Jan 2015 22:29:49 +0000 Put auto compiler flags into CPPFLAGS. They're useless for linking. Diffstat:
M | configure | | | 14 | +++++++------- |
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/configure b/configure @@ -320,13 +320,13 @@ echo "Checking target system type..." test -n "$target" || target=$($CC_AUTO -dumpmachine 2>/dev/null) || target=unknown echo " ... $target" -tryflag CFLAGS_AUTO -std=c99 -tryflag CFLAGS_AUTO -fomit-frame-pointer -tryflag CFLAGS_AUTO -fno-exceptions -tryflag CFLAGS_AUTO -fno-unwind-tables -tryflag CFLAGS_AUTO -fno-asynchronous-unwind-tables -tryflag CFLAGS_AUTO -Wa,--noexecstack -tryflag CFLAGS_AUTO -fno-stack-protector +tryflag CPPFLAGS_AUTO -std=c99 +tryflag CPPFLAGS_AUTO -fomit-frame-pointer +tryflag CPPFLAGS_AUTO -fno-exceptions +tryflag CPPFLAGS_AUTO -fno-unwind-tables +tryflag CPPFLAGS_AUTO -fno-asynchronous-unwind-tables +tryflag CPPFLAGS_AUTO -Wa,--noexecstack +tryflag CPPFLAGS_AUTO -fno-stack-protector tryflag CPPFLAGS_AUTO -Werror=implicit-function-declaration tryflag CPPFLAGS_AUTO -Werror=implicit-int tryflag CPPFLAGS_AUTO -Werror=pointer-sign