diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-11-23 20:12:15 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-11-23 20:12:15 +0300 |
commit | 2dac330ac0f57d98fa5116c2ceb8e79231edd35a (patch) | |
tree | 0795aa3e6bb47ba432ab617c6e882562095e8aba /source/blender/render | |
parent | 53667cc69368308fee360359271b438a69098bc9 (diff) |
Remove forced sse compile flags on render for linux. This is very bad.
Use user flags instead.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/SConscript | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/render/SConscript b/source/blender/render/SConscript index 795e7247597..63ef83a0cfe 100644 --- a/source/blender/render/SConscript +++ b/source/blender/render/SConscript @@ -31,8 +31,11 @@ if env['WITH_BF_OPENEXR']: defs.append('WITH_OPENEXR') if env['OURPLATFORM'] == 'linux2': - cflags = ['-O2','-msse2','-mfpmath=sse', '-pthread'] - cxxflags = ['-O2','-msse2','-mfpmath=sse', '-pthread'] +# SSE is NOT safe all the time on linux, plus that ignores users compile flags and therefore no no +# cflags = ['-O2','-msse2','-mfpmath=sse', '-pthread'] +# cxxflags = ['-O2','-msse2','-mfpmath=sse', '-pthread'] + cflags = env['CCFLAGS'] + cxxflags = env['CXXFLAGS'] incs += ' ../../../extern/binreloc/include' if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): |