From efa25887b869b3d5c771c7457044a4e333ae9bc1 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 20 Jan 2015 22:29:49 +0000 Subject: Put auto compiler flags into CPPFLAGS. They're useless for linking. --- configure | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index ac05bab..5655761 100755 --- 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 -- cgit v1.2.3