Skip to content

Commit 387c266

Browse files
committed
wscript: enable gccdeps like in engine
1 parent fab8cfe commit 387c266

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wscript

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def configure(conf):
4848
conf.env.MSVC_SUBSYSTEM = 'WINDOWS'
4949

5050
# Load compilers early
51-
conf.load('xcompile compiler_c compiler_cxx')
51+
conf.load('xcompile compiler_c compiler_cxx gccdeps')
5252

5353
# HACKHACK: override msvc DEST_CPU value by something that we understand
5454
if conf.env.DEST_CPU == 'amd64':
@@ -63,8 +63,7 @@ def configure(conf):
6363
if conf.env.GIT_BRANCH:
6464
conf.define('XASH_BUILD_BRANCH', conf.env.GIT_BRANCH)
6565

66-
enforce_pic = True # modern defaults
67-
conf.check_pic(enforce_pic)
66+
conf.check_pic(True) # modern defaults
6867

6968
# We restrict 64-bit builds ONLY for Win/Linux/OSX running on Intel architecture
7069
# Because compatibility with original GoldSrc

0 commit comments

Comments
 (0)