scons: Remove -ffast-math.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 11 Jul 2012 19:20:28 +0000 (20:20 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 12 Jul 2012 20:14:29 +0000 (21:14 +0100)
We rely on proper IEEE 754 behavior in too many places for this.

See also commit 2fdbbeca43e7b57095774e4228e6eea75a180fab with equivalent
change for autoconf.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
scons/gallium.py

index c223255abc273738c4b5e0efa15af3fbafd24c93..001a5def1a795f541e4c71f351495071e5033d24 100755 (executable)
@@ -368,7 +368,6 @@ def generate(env):
         ccflags += [
             '-Wall',
             '-Wno-long-long',
-            '-ffast-math',
             '-fmessage-length=0', # be nice to Eclipse
         ]
         cflags += [
@@ -405,7 +404,6 @@ def generate(env):
                 '/GL-', # disable whole program optimization
             ]
         ccflags += [
-            '/fp:fast', # fast floating point 
             '/W3', # warning level
             #'/Wp64', # enable 64 bit porting warnings
             '/wd4996', # disable deprecated POSIX name warnings