mirror of https://github.com/mpv-player/mpv
Better default CFLAGS for non-gnu, non-intel compilers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21585 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b9e8186ac3
commit
f13de61088
|
@ -1560,6 +1560,8 @@ if test "$_profile" != "" || test "$_debug" != "" ; then
|
|||
elif test -z "$CFLAGS" ; then
|
||||
if test "$cc_vendor" = "intel" ; then
|
||||
CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer"
|
||||
elif test "$cc_vendor" != "gnu" ; then
|
||||
CFLAGS="-O2 $_march $_mcpu $_pipe"
|
||||
else
|
||||
CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue