[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24828] trunk/blender/source/blender/ render/SConscript: Remove forced sse compile flags on render for linux.

Martin Poirier theeth at yahoo.com
Mon Nov 23 18:12:16 CET 2009


Revision: 24828
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24828
Author:   theeth
Date:     2009-11-23 18:12:15 +0100 (Mon, 23 Nov 2009)

Log Message:
-----------
Remove forced sse compile flags on render for linux. This is very bad.

Use user flags instead.

Modified Paths:
--------------
    trunk/blender/source/blender/render/SConscript

Modified: trunk/blender/source/blender/render/SConscript
===================================================================
--- trunk/blender/source/blender/render/SConscript	2009-11-23 17:07:30 UTC (rev 24827)
+++ trunk/blender/source/blender/render/SConscript	2009-11-23 17:12:15 UTC (rev 24828)
@@ -31,8 +31,11 @@
     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'):





More information about the Bf-blender-cvs mailing list