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:
parent
e11eeb24fc
commit
eaf983c054
7
wscript
7
wscript
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user