mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 03:14:04 +02:00
Add more optimisations to release mode
This commit is contained in:
@@ -112,7 +112,7 @@ if(GetOption('lin32') or GetOption('lin64')):
|
|||||||
|
|
||||||
|
|
||||||
if(GetOption('release')):
|
if(GetOption('release')):
|
||||||
env.Append(CCFLAGS='-O3')
|
env.Append(CCFLAGS=['-O3', '-ftree-vectorize', '-msse2', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer', '-funsafe-loop-optimizations', '-Wunsafe-loop-optimizations'])
|
||||||
|
|
||||||
if(GetOption('opengl')):
|
if(GetOption('opengl')):
|
||||||
env.Append(CPPDEFINES=["OGLI", "PIX32OGL"])
|
env.Append(CPPDEFINES=["OGLI", "PIX32OGL"])
|
||||||
|
Reference in New Issue
Block a user