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:
Ed Halley 2007-01-28 14:55:57 +00:00
parent d34cd388b8
commit cf04786a8b
4 changed files with 4 additions and 4 deletions

@ -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)

@ -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",

@ -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',

@ -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 "################################################"