mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00:00
Fix setting arch flags on Windows builds.
This commit is contained in:
parent
e37083888e
commit
bd48878986
@ -91,9 +91,9 @@ def SetArchFlags(compiler, arch, platform):
|
||||
if platform == 'mac':
|
||||
compiler.linkflags = ['-arch', 'x86_64']
|
||||
elif compiler.like('msvc'):
|
||||
if builder.target.arch == 'x86':
|
||||
if arch == 'x86':
|
||||
compiler.linkflags += ['/MACHINE:X86']
|
||||
elif builder.target.arch == 'x86_64':
|
||||
elif arch == 'x86_64':
|
||||
compiler.linkflags += ['/MACHINE:X64']
|
||||
|
||||
def AppendArchSuffix(binary, name, arch):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user