Skip to content
Permalink
Browse files
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>
  • Loading branch information
neheb authored and aparcar committed Feb 11, 2022
1 parent 8072bf3 commit 0d25db7f17efbf5ab539508dd0a5d1eb739a1c43
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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)") \

0 comments on commit 0d25db7

Please sign in to comment.