use -O2 for normal builds, und -O0 for debug builds
mtk [Mon, 19 Apr 2010 12:09:34 +0000 (12:09 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1596 270642c3-0616-0410-b53a-bc976706d245

SConstruct

index 17696a1..f781e5c 100644 (file)
@@ -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,