diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2009-11-09 21:32:59 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2009-11-09 21:32:59 +0300 |
commit | 45c0f70e3e6198e15b6010153b8c6eb5914feb31 (patch) | |
tree | 716b62755f3ff0ce26b6969c9f3f60f0b4bb5b57 /source/blender/render/SConscript | |
parent | ff0ba86a9b8caaf744437fa23e1b16af72e0183d (diff) |
- scons fix for linux build
Diffstat (limited to 'source/blender/render/SConscript')
-rw-r--r-- | source/blender/render/SConscript | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/render/SConscript b/source/blender/render/SConscript index 4df94a096b9..795e7247597 100644 --- a/source/blender/render/SConscript +++ b/source/blender/render/SConscript @@ -30,12 +30,9 @@ if env['WITH_BF_QUICKTIME']: if env['WITH_BF_OPENEXR']: defs.append('WITH_OPENEXR') -if env['OURPLATFORM']=='linux2': - cflags += ['-pthread'] - - if env['OURPLATFORM'] == 'linux2': - cflags='-pthread' + cflags = ['-O2','-msse2','-mfpmath=sse', '-pthread'] + cxxflags = ['-O2','-msse2','-mfpmath=sse', '-pthread'] incs += ' ../../../extern/binreloc/include' if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): |