diff options
-rw-r--r-- | SConstruct | 4 | ||||
-rw-r--r-- | extern/qhull/SConscript | 2 | ||||
-rw-r--r-- | extern/solid/SConscript | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct index 08bb16d955c..f226ed48707 100644 --- a/SConstruct +++ b/SConstruct @@ -153,7 +153,7 @@ elif sys.platform == 'darwin': fink_path = '/sw/' # TODO : try -mpowerpc -mpowerpc-gopt -mpowerpc-gfxopt optims # doing actual profiling - extra_flags = ['-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc'] + extra_flags = ['-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc', '-mtune=G4'] # , '-malign-natural'] malign is causing problems with jpeg lib but worth a 1-2% speedup #'-force_cpusubtype_ALL', '-mpowerpc-gpopt', @@ -162,7 +162,7 @@ elif sys.platform == 'darwin': if use_quicktime == 'true': defines += ['WITH_QUICKTIME'] warn_flags = ['-Wall'] # , '-W' - release_flags = ['-O3'] + release_flags = ['-O2'] debug_flags = ['-g'] window_system = 'CARBON' # z library information diff --git a/extern/qhull/SConscript b/extern/qhull/SConscript index 2b9487a9527..5c87b8d3452 100644 --- a/extern/qhull/SConscript +++ b/extern/qhull/SConscript @@ -14,7 +14,7 @@ elif sys.platform=='win32': elif sys.platform=='sunos': qhull_env.Append (CCFLAGS = ['Xc', '-v', '-fast']) elif sys.platform=='darwin': - qhull_env.Append (CCFLAGS = ['-O3', '-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc' ]) + qhull_env.Append (CCFLAGS = ['-O2', '-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc' , '-mtune=G4']) else: qhull_env.Append (CCFLAGS = cflags) qhull_env.Append (CPPDEFINES = defines) diff --git a/extern/solid/SConscript b/extern/solid/SConscript index 9b7f6bda4d5..12996b6a7ff 100644 --- a/extern/solid/SConscript +++ b/extern/solid/SConscript @@ -21,7 +21,7 @@ elif sys.platform=='linux2' or sys.platform=='linux-i386' or sys.platform=='free cflags += ['-O2'] elif sys.platform=='darwin' : defines += ['NDEBUG'] - cflags += ['-O3','-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc' ] + cflags += ['-O2','-pipe', '-fPIC', '-funsigned-char', '-ffast-math', '-mpowerpc' , '-mtune=G4'] else: print "################################################" |