mirror of https://github.com/mpv-player/mpv
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:
parent
8477a2e3b1
commit
5bc80d85dc
|
@ -2251,7 +2251,7 @@ elif test -z "$CFLAGS" ; then
|
|||
elif test "$cc_vendor" != "gnu" ; then
|
||||
CFLAGS="-O2 $_march $_mcpu $_pipe"
|
||||
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
|
||||
else
|
||||
_warn_CFLAGS=yes
|
||||
|
|
Loading…
Reference in New Issue