2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2025-01-26 18:40:08 +01:00

wscript: tune-up options for magx

This commit is contained in:
Alibek Omarov 2019-11-07 06:56:07 +03:00
parent ce20da28e1
commit f8b0ec8c4b

View File

@ -137,6 +137,7 @@ def configure(conf):
conf.options.GL = False
conf.options.LOW_MEMORY = 1
conf.options.SINGLE_BINARY = True
conf.options.NO_ASYNC_RESOLVE = True
conf.define('XASH_SDLMAIN', 1)
enforce_pic = False
@ -191,7 +192,7 @@ def configure(conf):
'fast': {
'msvc': ['/O2', '/Oy'],
'gcc': {
'3': ['-O3', '-Os', '-funsafe-math-optimizations', '-fomit-frame-pointer'],
'3': ['-O3', '-fomit-frame-pointer'],
'default': ['-Ofast', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer']
},
'clang': ['-Ofast'],