mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-01 06:00:15 +02:00
remove -funsafe-loop-optimizations on mac
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user