summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index bb3d9d43d4..b1d7ab8736 100755
--- a/configure
+++ b/configure
@@ -7395,11 +7395,11 @@ cat > $TMPC << EOF
int main() { return 0; }
EOF
if test "$cc_vendor" = "gnu" ; then
-if cc_check -Wdeclaration-after-statement ; then
- CFLAGS="-Wdeclaration-after-statement $CFLAGS"
-fi
-cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
-cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
+ if cc_check -Wdeclaration-after-statement ; then
+ CFLAGS="-Wdeclaration-after-statement $CFLAGS"
+ fi
+ cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
+ cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
fi