Skip to content

Commit

Permalink
wscript: enable gccdeps like in engine
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Nov 18, 2024
1 parent fab8cfe commit 387c266
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand All @@ -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
Expand Down

0 comments on commit 387c266

Please sign in to comment.