- scons fix for linux build
authorDamien Plisson <damien.plisson@yahoo.fr>
Mon, 9 Nov 2009 18:32:59 +0000 (18:32 +0000)
committerDamien Plisson <damien.plisson@yahoo.fr>
Mon, 9 Nov 2009 18:32:59 +0000 (18:32 +0000)
source/blender/render/SConscript

index 4df94a096b9c4700a555091e896ec3e3caa52499..795e72475972d33d87de806842ad0556d9028270 100644 (file)
@@ -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'):