Skip to content

Commit

Permalink
remove -funsafe-loop-optimizations on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Aug 1, 2014
1 parent fee3635 commit 92237ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SConscript
Expand Up @@ -415,7 +415,9 @@ elif GetOption('release'):
else:
env.Append(CCFLAGS=['/MD'])
else:
env.Append(CCFLAGS=['-O3', '-ftree-vectorize', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer', '-funsafe-loop-optimizations'])
env.Append(CCFLAGS=['-O3', '-ftree-vectorize', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer'])
if platform != "Darwin":
env.Append(CCFLAGS=['-funsafe-loop-optimizations'])

if GetOption('static'):
if not msvc:
Expand Down

0 comments on commit 92237ca

Please sign in to comment.