Use -O3 on all platforms again (mac crash is probably fixed -O2 causes false positives in AVG)

This commit is contained in:
jacob1 2016-03-27 23:18:13 -04:00
parent ad49bfbb82
commit db9d7399d1

View File

@ -457,9 +457,9 @@ elif GetOption('release'):
else:
env.Append(CCFLAGS=['/MD'])
else:
env.Append(CCFLAGS=['-ftree-vectorize', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer'])
env.Append(CCFLAGS=['-O3', '-ftree-vectorize', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer'])
if platform != "Darwin":
env.Append(CCFLAGS=['-O2', '-funsafe-loop-optimizations'])
env.Append(CCFLAGS=['-funsafe-loop-optimizations'])
if GetOption('static'):
if not msvc: