summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-07 17:10:37 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-07 17:10:37 +0000
commit8477a2e3b1d44a66fc0e9a0474f86c1d710bf351 (patch)
treeb2f2756a0e552a006e13423d7f53603b42eff9b1 /configure
parent024e216a729f996e2f1bdba90607a75e3f15db31 (diff)
downloadmpv-8477a2e3b1d44a66fc0e9a0474f86c1d710bf351.tar.bz2
mpv-8477a2e3b1d44a66fc0e9a0474f86c1d710bf351.tar.xz
Fix r23494: It broke gcc 2.95.3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23495 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 11a142ac4d..32372f713d 100755
--- a/configure
+++ b/configure
@@ -2251,7 +2251,7 @@ elif test -z "$CFLAGS" ; then
elif test "$cc_vendor" != "gnu" ; then
CFLAGS="-O2 $_march $_mcpu $_pipe"
else
- CFLAGS="-Wall -Wno-pointer-sign -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
+ CFLAGS="-Wall -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
fi
else
_warn_CFLAGS=yes
@@ -7397,6 +7397,7 @@ EOF
if cc_check -Wdeclaration-after-statement ; then
CFLAGS="-Wdeclaration-after-statement $CFLAGS"
fi
+cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
#this must be the last test to be performed or the ones following it will likely fail