mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-06 20:30:36 +08:00
wscript: remove hacky logic determening valid target when crosscompiling to 32-bit x86
This commit is contained in:
@@ -267,9 +267,7 @@ def get_optimization_flags(conf):
|
||||
if conf.env.COMPILER_CC in ['gcc', 'clang'] and conf.env.DEST_OS not in ['android']:
|
||||
# HLSDK by default compiles with these options under Linux
|
||||
# no reason for us to not do the same
|
||||
|
||||
# TODO: fix DEST_CPU in force 32 bit mode
|
||||
if conf.env.DEST_CPU == 'x86' or (conf.env.DEST_CPU == 'x86_64' and conf.env.DEST_SIZEOF_VOID_P == 4):
|
||||
if conf.env.DEST_CPU == 'x86':
|
||||
cflags.append('-march=pentium-m')
|
||||
cflags.append('-mtune=core2')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user