OSX/gcc-4.6: workaround a compilerbug, use apple-gcc instead
This commit is contained in:
5
extern/bullet2/src/SConscript
vendored
5
extern/bullet2/src/SConscript
vendored
@@ -35,4 +35,7 @@ bullet2_src += env.Glob("BulletSoftBody/*.cpp")
|
|||||||
|
|
||||||
incs = '. BulletCollision BulletDynamics LinearMath BulletSoftBody'
|
incs = '. BulletCollision BulletDynamics LinearMath BulletSoftBody'
|
||||||
|
|
||||||
env.BlenderLib ( libname = 'extern_bullet2', sources=bullet2_src, includes=Split(incs), defines=Split(defs), libtype=['extern','player'], priority=[20,137], compileflags=cflags )
|
if sys.platform=='darwin' and env['CC'][:-2].endswith('4.6'): # workaround for an gcc-4.6 compiler bug
|
||||||
|
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 )
|
||||||
|
Reference in New Issue
Block a user