diff options
author | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-08 22:22:50 +0000 |
---|---|---|
committer | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-08 22:22:50 +0000 |
commit | 5b21eb01773ddd537315c83b639fc64719e6a4fc (patch) | |
tree | 1629b41e80cd60033e782fd808302a58c3ddad5d /configure | |
parent | dbe1e3f2ea39b508449d5386f4a660f754b14259 (diff) |
Simplify addition of -Wdeclaration-after-statement to CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23523 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |