diff options
author | Ton Roosendaal <ton@blender.org> | 2010-03-10 21:05:58 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-03-10 21:05:58 +0300 |
commit | 222dc9cf132c6cc2f4c3ca6c14fe5dffb5737d7d (patch) | |
tree | 89afa6898edac0ced2506a05f914f5c58e69d326 /source/blender/blenlib/SConscript | |
parent | 3d222c3de6a281b4e7165634eb6e01f8010ecbc2 (diff) |
OSX compile fix, for Scons, provided by Jens.
Error caused by openmp weirdness in gcc for osx.
Diffstat (limited to 'source/blender/blenlib/SConscript')
-rw-r--r-- | source/blender/blenlib/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/SConscript b/source/blender/blenlib/SConscript index 090094a834d..78aecf9936b 100644 --- a/source/blender/blenlib/SConscript +++ b/source/blender/blenlib/SConscript @@ -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 ) |