mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-24 18:59:50 +01:00
scripts: waifulib: vgui: fix vgui_support getting automatically enabled on x86 machines with unsupported OS
This commit is contained in:
parent
a5f7027229
commit
ab499d5095
@ -28,7 +28,7 @@ def options(opt):
|
||||
|
||||
@conf
|
||||
def check_vgui(conf):
|
||||
if conf.env.DEST_CPU == 'x86' or (conf.env.DEST_CPU == 'x86_64' and not conf.options.ALLOW64):
|
||||
if conf.env.DEST_CPU == 'x86' or (conf.env.DEST_CPU == 'x86_64' and conf.env.DEST_SIZEOF_VOID_P == 4):
|
||||
vgui_dest_cpu = 'x86' # link with 32-bit binary when crosscompiling to 32-bit
|
||||
else: vgui_dest_cpu = conf.env.DEST_CPU
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user