summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-10 22:12:48 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-10 22:12:48 +0000
commitf13de610886b6c89e996742b5374389925c32af3 (patch)
tree0f04a0274de4713e9fae5b1c7fbb6f6393ad24e5 /configure
parentb9e8186ac3159ac14f6a4efd5f43a410fee34e35 (diff)
downloadmpv-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-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 219dc7f776..a5127ee2c0 100755
--- a/configure
+++ b/configure
@@ -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