From 65009c77a74c800c2adb0977f78c06abefa6cbcb Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Fri, 6 Sep 2013 11:49:06 -0700 Subject: [PATCH] Raise default optimization level to 1. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.