aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-02-09 17:15:14 -0800
committerPaul Spooren <mail@aparcar.org>2022-02-11 12:04:09 +0100
commit0d25db7f17efbf5ab539508dd0a5d1eb739a1c43 (patch)
tree7598e3d4c420f2aa39fb1934cc8dce503a9d5a12 /tools
parent8072bf33220b0e7091c2fe1771a8bd52a24a9728 (diff)
downloadupstream-0d25db7f17efbf5ab539508dd0a5d1eb739a1c43.tar.gz
upstream-0d25db7f17efbf5ab539508dd0a5d1eb739a1c43.tar.bz2
upstream-0d25db7f17efbf5ab539508dd0a5d1eb739a1c43.zip
tools/cmake: add MAKE config variable
Makes sure that Ninja from staging_dir is used and nowhere else. Reported by reproducible builds project. Builds have been failing ever since tools/cmake started using Ninja. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/cmake/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index e54e8c4547..8f0631eb74 100644
--- a/tools/cmake/Makefile
+++ b/tools/cmake/Makefile
@@ -25,7 +25,8 @@ HOST_CONFIGURE_VARS += \
CC="$(HOSTCC_NOCACHE)" \
CXX="$(HOSTCXX_NOCACHE)" \
MAKEFLAGS="$(HOST_JOBS)" \
- CXXFLAGS="$(HOST_CFLAGS)"
+ CXXFLAGS="$(HOST_CFLAGS)" \
+ MAKE="$(STAGING_DIR_HOST)/bin/ninja"
HOST_CONFIGURE_ARGS := \
$(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)") \