OSX compile fix, for Scons, provided by Jens.

Error caused by openmp weirdness in gcc for osx.
This commit is contained in:
Ton Roosendaal 2010-03-10 18:05:58 +00:00
parent 3d222c3de6
commit 222dc9cf13

@ -20,4 +20,8 @@ if env['OURPLATFORM'] == 'linuxcross':
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 )