From: mtk Date: Mon, 19 Apr 2010 17:19:15 +0000 (+0000) Subject: default to -O2 for non debug build X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=f5e7624781fb0ac4bcbb26bd0268b66c54570096;p=senf.git default to -O2 for non debug build git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1597 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/site_scons/senfutil.py b/site_scons/senfutil.py index 38c82b6..4a56ac2 100644 --- a/site_scons/senfutil.py +++ b/site_scons/senfutil.py @@ -171,9 +171,9 @@ def SetupForSENF(env, senf_path = []): def DefaultOptions(env): env.Append( CXXFLAGS = [ '-Wall', '-Woverloaded-virtual' ], - CXXFLAGS_final = [ '-O2' ], - CXXFLAGS_normal = [ '-O0', '-g' ], - CXXFLAGS_debug = [ '$CXXFLAGS_normal' ], + CXXFLAGS_final = [ '-O3' ], + CXXFLAGS_normal = [ '-O2', '-g' ], + CXXFLAGS_debug = [ '-O0', '-g' ], LINKFLAGS_normal = [ '-Wl,-S' ], LINKFLAGS_debug = [ '-g' ],