changeset 21569:685b7a8e6992

Better default CFLAGS for non-gnu, non-intel compilers
author reimar
date Sun, 10 Dec 2006 22:12:48 +0000
parents 51a7cbc52102
children a29ae9b13a50
files configure
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Dec 10 21:37:00 2006 +0000
+++ b/configure	Sun Dec 10 22:12:48 2006 +0000
@@ -1560,6 +1560,8 @@
 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