diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-10 22:12:48 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-10 22:12:48 +0000 |
commit | f13de610886b6c89e996742b5374389925c32af3 (patch) | |
tree | 0f04a0274de4713e9fae5b1c7fbb6f6393ad24e5 /configure | |
parent | b9e8186ac3159ac14f6a4efd5f43a410fee34e35 (diff) | |
download | mpv-f13de610886b6c89e996742b5374389925c32af3.tar.bz2 mpv-f13de610886b6c89e996742b5374389925c32af3.tar.xz |
Better default CFLAGS for non-gnu, non-intel compilers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21585 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |