summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index 4b8fb929d1..00bc302f08 100755
--- a/configure
+++ b/configure
@@ -7395,9 +7395,7 @@ 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 -Wdeclaration-after-statement && CFLAGS="-Wdeclaration-after-statement $CFLAGS"
cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
fi