optimization level 2/3 fails to pass unit tests. need to investigate

This commit is contained in:
Peter Thorson
2013-05-09 16:34:47 -05:00
parent 49a866dc8e
commit 4d0a1c98a9

View File

@@ -75,7 +75,7 @@ elif env['PLATFORM'] == 'posix':
env.Append(CCFLAGS = ['-g', '-O0'])
else:
env.Append(CPPDEFINES = ['NDEBUG'])
env.Append(CCFLAGS = ['-O3', '-fomit-frame-pointer'])
env.Append(CCFLAGS = ['-O1', '-fomit-frame-pointer'])
env.Append(CCFLAGS = ['-Wall'])
#env['LINKFLAGS'] = ''
elif env['PLATFORM'] == 'darwin':
@@ -83,7 +83,7 @@ elif env['PLATFORM'] == 'darwin':
env.Append(CCFLAGS = ['-g', '-O0'])
else:
env.Append(CPPDEFINES = ['NDEBUG'])
env.Append(CCFLAGS = ['-O3', '-fomit-frame-pointer'])
env.Append(CCFLAGS = ['-O1', '-fomit-frame-pointer'])
env.Append(CCFLAGS = ['-Wall'])
#env['LINKFLAGS'] = ''