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:
reimar 2006-12-10 22:12:48 +00:00
parent b9e8186ac3
commit f13de61088
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -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