diff options
author | Sergej Reich <sergej.reich@googlemail.com> | 2014-04-09 03:22:54 +0400 |
---|---|---|
committer | Sergej Reich <sergej.reich@googlemail.com> | 2014-04-09 03:48:44 +0400 |
commit | 6ffabfae852f956f5074ddb75e94a4f6fb846d1d (patch) | |
tree | 56c6c1df3c901a9b670ca34e0ca2117633d25fbf /extern/bullet2/src | |
parent | 2496636a6536fcc19b0b0d8ad510ae9c64b424d7 (diff) |
Fix T39646: Rigid Body Constraints non functional on release builds
-ffast-math is evil, not sure why it was enabled...
I seems to work better on OSX but it's still not a good idea.
The SConscript for bullet is a mess, I don't understand why
we use different flags for different platforms in the first place.
Seems to be a historical artifact but I don't know enough about scons
to try and clean it up.
Diffstat (limited to 'extern/bullet2/src')
-rw-r--r-- | extern/bullet2/src/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/bullet2/src/SConscript b/extern/bullet2/src/SConscript index 58c97f0ca4f..6e51d067825 100644 --- a/extern/bullet2/src/SConscript +++ b/extern/bullet2/src/SConscript @@ -19,7 +19,7 @@ elif env['OURPLATFORM'] in ('linux', 'freebsd4', 'freebsd5'): cflags += ['-O2'] elif sys.platform=='darwin': defs += ' NDEBUG' - bt_flags = env['CCFLAGS'] + ['-fPIC', '-msse','-msse2', '-msse3', '-mssse3', '-ffast-math'] # basic -O0 optimization + bt_flags = env['CCFLAGS'] + ['-fPIC', '-msse','-msse2', '-msse3', '-mssse3'] # basic -O0 optimization bt_opt_flags = bt_flags + ['-O3'] bullet2_src = env.Glob("LinearMath/*.cpp") |