From: mtk Date: Mon, 19 Apr 2010 12:09:34 +0000 (+0000) Subject: use -O2 for normal builds, und -O0 for debug builds X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=2c20f7f9f7aca88cf6a5f70056d488fe5836b674;p=senf.git use -O2 for normal builds, und -O0 for debug builds git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1596 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/SConstruct b/SConstruct index 17696a1..f781e5c 100644 --- a/SConstruct +++ b/SConstruct @@ -99,8 +99,8 @@ env.Append( '-pipe', '$CXXFLAGS_' ], CXXFLAGS_ = senfutil.BuildTypeOptions('CXXFLAGS'), CXXFLAGS_final = [ '-O3' ], - CXXFLAGS_normal = [ '-O0', '-g' ], - CXXFLAGS_debug = [ '$CXXFLAGS_normal' ], + CXXFLAGS_normal = [ '-O2', '-g' ], + CXXFLAGS_debug = [ '-O0', '-g' ], CPPDEFINES = [ '$expandLogOption', '$CPPDEFINES_' ], expandLogOption = senfutil.expandLogOption,