diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7394,11 +7394,13 @@ CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS" 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" +fi #this must be the last test to be performed or the ones following it will likely fail |