[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27392] trunk/blender/source/blender/ blenlib/SConscript: OSX compile fix, for Scons, provided by Jens.

Ton Roosendaal ton at blender.org
Wed Mar 10 19:05:59 CET 2010


Revision: 27392
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27392
Author:   ton
Date:     2010-03-10 19:05:58 +0100 (Wed, 10 Mar 2010)

Log Message:
-----------
OSX compile fix, for Scons, provided by Jens.
Error caused by openmp weirdness in gcc for osx.

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

Modified: trunk/blender/source/blender/blenlib/SConscript
===================================================================
--- trunk/blender/source/blender/blenlib/SConscript	2010-03-10 17:52:50 UTC (rev 27391)
+++ trunk/blender/source/blender/blenlib/SConscript	2010-03-10 18:05:58 UTC (rev 27392)
@@ -20,4 +20,8 @@
     if env['WITH_BF_OPENMP']:
         incs += ' ' + env['BF_OPENMP_INC']
 
+if env['OURPLATFORM'] == 'darwin':
+    if env['WITH_BF_OPENMP']:
+       env.Append(CFLAGS=['-DPARALLEL=1'])
+
 env.BlenderLib ( 'bf_blenlib', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [363,170], compileflags =cflags )





More information about the Bf-blender-cvs mailing list