build script: add platform support to make target

This commit is contained in:
alexey.lysiuk 2020-12-25 13:04:12 +02:00
parent 7d29027d47
commit 23456eaaf7

View file

@ -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