1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-17 21:27:08 +00:00

Add -Wno-switch to CFLAGS.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23496 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2007-06-07 17:23:23 +00:00
parent 8477a2e3b1
commit 5bc80d85dc

2
configure vendored
View File

@ -2251,7 +2251,7 @@ elif test -z "$CFLAGS" ; then
elif test "$cc_vendor" != "gnu" ; then elif test "$cc_vendor" != "gnu" ; then
CFLAGS="-O2 $_march $_mcpu $_pipe" CFLAGS="-O2 $_march $_mcpu $_pipe"
else else
CFLAGS="-Wall -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" CFLAGS="-Wall -Wno-switch -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
fi fi
else else
_warn_CFLAGS=yes _warn_CFLAGS=yes