diff --git a/SConstruct b/SConstruct index df76e5be1c..467b8dc1c4 100644 --- a/SConstruct +++ b/SConstruct @@ -207,7 +207,7 @@ if not OSX: DEBUGFLAGS = ['-g', '-DDEBUG'] env.Append(CCFLAGS = ['-pthread', '-Wall', '-Wno-sign-compare', '-Wno-char-subscripts']+DEBUGFLAGS) -env.Append(CXXFLAGS = ['-O0', '-pthread', '-Wno-invalid-offsetof', '-Wformat']+DEBUGFLAGS) +env.Append(CXXFLAGS = ['-O1', '-pthread', '-Wno-invalid-offsetof', '-Wformat']+DEBUGFLAGS) # RTTI is required for Beast and CountedObject.