changeset 28659:a85f4b96fc19

Add -ffast-math to LDFLAGS as well as to CFLAGS. patch by Piotr Kaczuba, pepe attika.ath cx
author diego
date Sat, 21 Feb 2009 20:25:02 +0000
parents 94fcc9e0449b
children 0812215421d7
files configure
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Feb 21 18:15:55 2009 +0000
+++ b/configure	Sat Feb 21 20:25:02 2009 +0000
@@ -2398,6 +2398,7 @@
     CFLAGS="-O2 $_march $_mcpu $_pipe"
   else
     CFLAGS="-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
+    _ld_extra="$_ld_extra -ffast-math"
   fi
 else
   _warn_CFLAGS=yes