summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2012-07-11 20:20:28 +0100
committerJosé Fonseca <jfonseca@vmware.com>2012-07-12 21:14:29 +0100
commit5b8d80a7831fb5ef8bf1c7cc21493432ab256387 (patch)
tree776cc3e5d2e74d33ad0ba4733ef8023751369e4b /scons/gallium.py
parentbd3aab8d7915b0bc5829a32964955d9da84bef3b (diff)
scons: Remove -ffast-math.
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>
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-xscons/gallium.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index c223255abc..001a5def1a 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -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