mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 21:31:25 +00:00
build script: add platform support to make target
This commit is contained in:
parent
7d29027d47
commit
23456eaaf7
1 changed files with 6 additions and 1 deletions
7
build.py
7
build.py
|
@ -254,7 +254,12 @@ class MakeTarget(Target):
|
|||
def build(self, builder: 'Builder'):
|
||||
assert not builder.xcode
|
||||
|
||||
args = [self.tool, '-j', builder.jobs]
|
||||
args = [
|
||||
self.tool,
|
||||
'-j', builder.jobs,
|
||||
'CC=' + builder.c_compiler(),
|
||||
'CXX=' + builder.cxx_compiler(),
|
||||
]
|
||||
args += self.options.to_list()
|
||||
|
||||
work_path = builder.build_path + self.src_root
|
||||
|
|
Loading…
Reference in a new issue