From 387c266c05cf041c38f2296d74dec6e1ced6eb5a Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 18 Nov 2024 21:16:50 +0300 Subject: [PATCH] wscript: enable gccdeps like in engine --- wscript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index be199f58c..3d1d4279a 100644 --- a/wscript +++ b/wscript @@ -48,7 +48,7 @@ def configure(conf): conf.env.MSVC_SUBSYSTEM = 'WINDOWS' # Load compilers early - conf.load('xcompile compiler_c compiler_cxx') + conf.load('xcompile compiler_c compiler_cxx gccdeps') # HACKHACK: override msvc DEST_CPU value by something that we understand if conf.env.DEST_CPU == 'amd64': @@ -63,8 +63,7 @@ def configure(conf): if conf.env.GIT_BRANCH: conf.define('XASH_BUILD_BRANCH', conf.env.GIT_BRANCH) - enforce_pic = True # modern defaults - conf.check_pic(enforce_pic) + conf.check_pic(True) # modern defaults # We restrict 64-bit builds ONLY for Win/Linux/OSX running on Intel architecture # Because compatibility with original GoldSrc