mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-02 18:24:15 +00: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
|
# We restrict 64-bit builds ONLY for Win/Linux/OSX running on Intel architecture
|
||||||
# Because compatibility with original GoldSrc
|
# Because compatibility with original GoldSrc
|
||||||
if conf.env.DEST_OS in ['win32', 'linux', 'darwin'] and conf.env.DEST_CPU in ['x86_64']:
|
if conf.env.DEST_OS in ['win32', 'linux', 'darwin'] and conf.env.DEST_CPU in ['x86_64']:
|
||||||
conf.env.BIT32_ALLOW64 = conf.options.ALLOW64
|
conf.env.BIT32_MANDATORY = not conf.options.ALLOW64
|
||||||
if not conf.env.BIT32_ALLOW64:
|
if not conf.env.BIT32_MANDATORY:
|
||||||
Logs.info('WARNING: will build engine for 32-bit target')
|
Logs.info('WARNING: will build engine for 32-bit target')
|
||||||
else:
|
else:
|
||||||
conf.env.BIT32_ALLOW64 = True
|
conf.env.BIT32_MANDATORY = False
|
||||||
conf.env.BIT32_MANDATORY = not conf.env.BIT32_ALLOW64
|
|
||||||
conf.load('force_32bit')
|
conf.load('force_32bit')
|
||||||
if conf.env.DEST_OS != 'android' and not conf.options.DEDICATED:
|
if conf.env.DEST_OS != 'android' and not conf.options.DEDICATED:
|
||||||
conf.load('sdl2')
|
conf.load('sdl2')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user