diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2004-11-14 17:38:03 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2004-11-14 17:38:03 +0300 |
commit | cd7b7899079b9a275b2b62321ae3f11ce279fad6 (patch) | |
tree | 382c7409ce615ece02840c0fee9f9a0582b4571a /SConstruct | |
parent | fcf3dd2930c4b2e115378b7ba7eb2a1897926994 (diff) |
more conservative default build options for OS X
O3 works thought on my system, but should not be set on reference releases
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 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 |