summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files 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