OSX/clang3.4: tentative fix for T38746, strange bullet behaviour
This commit is contained in:
parent
2de9da6ee9
commit
ac0cdec90f
2
extern/bullet2/src/SConscript
vendored
2
extern/bullet2/src/SConscript
vendored
@ -37,7 +37,7 @@ bullet2_src += env.Glob("BulletSoftBody/*.cpp")
|
||||
|
||||
incs = '. BulletCollision BulletDynamics LinearMath BulletSoftBody'
|
||||
|
||||
if sys.platform=='darwin' and env['CC'][:-2].endswith('4.6'): # workaround for an gcc-4.6 compiler bug
|
||||
if sys.platform=='darwin' and (env['C_COMPILER_ID'] == 'gcc' and env['CCVERSION'] <= '4.6.1' or env['C_COMPILER_ID'] == 'clang' and env['CCVERSION'] >= '3.4'): # workaround for compiler bugs
|
||||
env.BlenderLib ( libname = 'extern_bullet2', sources=bullet2_src, includes=Split(incs), defines=Split(defs), libtype=['extern','player'], priority=[20,137], compileflags=cflags, cc_compilerchange='/usr/bin/gcc', cxx_compilerchange='/usr/bin/g++' )
|
||||
else:
|
||||
env.BlenderLib ( libname = 'extern_bullet2', sources=bullet2_src, includes=Split(incs), defines=Split(defs), libtype=['extern','player'], priority=[20,137], compileflags=cflags )
|
||||
|
Loading…
Reference in New Issue
Block a user