From 23456eaaf78ed76792ae3dedc46f21157f60f639 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 25 Dec 2020 13:04:12 +0200 Subject: [PATCH] build script: add platform support to make target --- build.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 0cfbdece..c9924d46 100755 --- a/build.py +++ b/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