scons: Remove -ffast-math.
We rely on proper IEEE 754 behavior in too many places for this.
See also commit 2fdbbeca43
with equivalent
change for autoconf.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
@@ -368,7 +368,6 @@ def generate(env):
|
|||||||
ccflags += [
|
ccflags += [
|
||||||
'-Wall',
|
'-Wall',
|
||||||
'-Wno-long-long',
|
'-Wno-long-long',
|
||||||
'-ffast-math',
|
|
||||||
'-fmessage-length=0', # be nice to Eclipse
|
'-fmessage-length=0', # be nice to Eclipse
|
||||||
]
|
]
|
||||||
cflags += [
|
cflags += [
|
||||||
@@ -405,7 +404,6 @@ def generate(env):
|
|||||||
'/GL-', # disable whole program optimization
|
'/GL-', # disable whole program optimization
|
||||||
]
|
]
|
||||||
ccflags += [
|
ccflags += [
|
||||||
'/fp:fast', # fast floating point
|
|
||||||
'/W3', # warning level
|
'/W3', # warning level
|
||||||
#'/Wp64', # enable 64 bit porting warnings
|
#'/Wp64', # enable 64 bit porting warnings
|
||||||
'/wd4996', # disable deprecated POSIX name warnings
|
'/wd4996', # disable deprecated POSIX name warnings
|
||||||
|
Reference in New Issue
Block a user