X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=SConstruct;h=f781e5c459802a2051ed28750a6ec8f540ac5526;hb=209950ee5f6898978cd68614ef339ae3531c5c53;hp=33f2decaaebdaae54a02a8b64bf55a0a600eb3ec;hpb=4123b4fe58a7fd4659fa01476581690b47c83600;p=senf.git diff --git a/SConstruct b/SConstruct index 33f2dec..f781e5c 100644 --- a/SConstruct +++ b/SConstruct @@ -1,7 +1,5 @@ # -*- python -*- -from __future__ import with_statement - import sys, os.path, fnmatch import SENFSCons, senfutil, senfconf @@ -98,11 +96,11 @@ env.Append( INLINE_OPTS_NORMAL = [ '-finline-limit=5000' ], INLINE_OPTS = [ '$INLINE_OPTS_NORMAL' ], CXXFLAGS = [ '-Wall', '-Woverloaded-virtual', '-Wno-long-long', '$INLINE_OPTS', - '$CXXFLAGS_' ], + '-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,