Permalink
Browse files

Remove -O3 on OS X, replace with -O2 for other platforms

  • Loading branch information...
jacob1 committed Mar 10, 2016
1 parent 1daeca7 commit 9b8e6c0f8b72ad8fe63f5d8e91e76f86f7dc9e08
Showing with 2 additions and 2 deletions.
  1. +2 −2 SConscript
@@ -457,9 +457,9 @@ elif GetOption('release'):
else:
env.Append(CCFLAGS=['/MD'])
else:
env.Append(CCFLAGS=['-O3', '-ftree-vectorize', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer'])
env.Append(CCFLAGS=['-ftree-vectorize', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer'])
if platform != "Darwin":
env.Append(CCFLAGS=['-funsafe-loop-optimizations'])
env.Append(CCFLAGS=['-O2', '-funsafe-loop-optimizations'])
if GetOption('static'):
if not msvc:

0 comments on commit 9b8e6c0

Please sign in to comment.