remove -funsafe-loop-optimizations on mac
This commit is contained in:
parent
fee3635274
commit
92237cad5d
@ -415,7 +415,9 @@ elif GetOption('release'):
|
|||||||
else:
|
else:
|
||||||
env.Append(CCFLAGS=['/MD'])
|
env.Append(CCFLAGS=['/MD'])
|
||||||
else:
|
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 GetOption('static'):
|
||||||
if not msvc:
|
if not msvc:
|
||||||
|
Reference in New Issue
Block a user