Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorDamien Plisson <damien.plisson@yahoo.fr>2009-11-09 21:32:59 +0300
committerDamien Plisson <damien.plisson@yahoo.fr>2009-11-09 21:32:59 +0300
commit45c0f70e3e6198e15b6010153b8c6eb5914feb31 (patch)
tree716b62755f3ff0ce26b6969c9f3f60f0b4bb5b57 /source
parentff0ba86a9b8caaf744437fa23e1b16af72e0183d (diff)
- scons fix for linux build
Diffstat (limited to 'source')
-rw-r--r--source/blender/render/SConscript7
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'):