Skip to content

Commit

Permalink
Use -O3 on all platforms again (mac crash is probably fixed -O2 cause…
Browse files Browse the repository at this point in the history
…s false positives in AVG)
  • Loading branch information
jacob1 committed Mar 28, 2016
1 parent ad49bfb commit db9d739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SConscript
Expand Up @@ -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:
Expand Down

0 comments on commit db9d739

Please sign in to comment.