2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2025-01-03 14:45:40 +01:00

wscript: remove BIT32_ALLOW

This commit is contained in:
Alibek Omarov 2019-10-18 05:06:10 +03:00
parent e11eeb24fc
commit eaf983c054

View File

@ -114,12 +114,11 @@ def configure(conf):
# We restrict 64-bit builds ONLY for Win/Linux/OSX running on Intel architecture
# Because compatibility with original GoldSrc
if conf.env.DEST_OS in ['win32', 'linux', 'darwin'] and conf.env.DEST_CPU in ['x86_64']:
conf.env.BIT32_ALLOW64 = conf.options.ALLOW64
if not conf.env.BIT32_ALLOW64:
conf.env.BIT32_MANDATORY = not conf.options.ALLOW64
if not conf.env.BIT32_MANDATORY:
Logs.info('WARNING: will build engine for 32-bit target')
else:
conf.env.BIT32_ALLOW64 = True
conf.env.BIT32_MANDATORY = not conf.env.BIT32_ALLOW64
conf.env.BIT32_MANDATORY = False
conf.load('force_32bit')
if conf.env.DEST_OS != 'android' and not conf.options.DEDICATED:
conf.load('sdl2')