Removed -mpowerpc -mtune=G4 from several SCons files, so it will work on
either PPC or Intel architectures under OSX. These options should be inherited properly from the rest of the OSX SCons build system.
This commit is contained in:
2
extern/bFTGL/SConscript
vendored
2
extern/bFTGL/SConscript
vendored
@@ -16,7 +16,7 @@ Import('env')
|
||||
#elif sys.platform=='sunos':
|
||||
# ftgl_env.Append (CCFLAGS = ['Xc', '-v', '-fast'])
|
||||
#elif sys.platform=='darwin':
|
||||
# ftgl_env.Append (CCFLAGS = ['-O2', '-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc' , '-mtune=G4'])
|
||||
# ftgl_env.Append (CCFLAGS = ['-O2', '-pipe', '-fPIC', '-funsigned-char', '-ffast-math'])
|
||||
#else:
|
||||
# ftgl_env.Append (CCFLAGS = cflags)
|
||||
|
||||
|
||||
2
extern/bullet2/src/SConscript
vendored
2
extern/bullet2/src/SConscript
vendored
@@ -19,7 +19,7 @@ elif sys.platform=='linux2' or sys.platform=='linux-i386' or sys.platform=='free
|
||||
cflags += ['-O2']
|
||||
elif sys.platform=='darwin':
|
||||
defs += ' NDEBUG'
|
||||
cflags += ['-O2','-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc' , '-mtune=G4']
|
||||
cflags += ['-O2','-pipe', '-fPIC', '-funsigned-char', '-ffast-math']
|
||||
|
||||
linearmath_src = env.Glob("LinearMath/*.cpp")
|
||||
bulletdyn_src = ["BulletDynamics/ConstraintSolver/btContactConstraint.cpp",
|
||||
|
||||
2
extern/qhull/SConscript
vendored
2
extern/qhull/SConscript
vendored
@@ -14,7 +14,7 @@ elif env['OURPLATFORM']=='win32-mingw':
|
||||
elif sys.platform=='sunos5':
|
||||
cflags += ['-O2', '-ansi']
|
||||
elif sys.platform=='darwin':
|
||||
cflags += ['-O2', '-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc' , '-mtune=G4']
|
||||
cflags += ['-O2', '-pipe', '-fPIC', '-funsigned-char', '-ffast-math']
|
||||
|
||||
sources = ['src/geom.c',
|
||||
'src/geom2.c',
|
||||
|
||||
2
extern/solid/SConscript
vendored
2
extern/solid/SConscript
vendored
@@ -17,7 +17,7 @@ elif sys.platform=='linux2' or sys.platform=='linux-i386' or sys.platform=='free
|
||||
cflags += ['-O2']
|
||||
elif sys.platform=='darwin' :
|
||||
defs += ' NDEBUG'
|
||||
cflags += ['-O2','-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc' , '-mtune=G4']
|
||||
cflags += ['-O2','-pipe', '-fPIC', '-funsigned-char', '-ffast-math']
|
||||
|
||||
else:
|
||||
print "################################################"
|
||||
|
||||
Reference in New Issue
Block a user