From eaf983c054e4d89edea8b1d195ca63c4f7b402a2 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 18 Oct 2019 05:06:10 +0300 Subject: [PATCH] wscript: remove BIT32_ALLOW --- wscript | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/wscript b/wscript index b1936886..54f9b96b 100644 --- a/wscript +++ b/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')