Skip to content
Snippets Groups Projects
Unverified Commit 96db1075 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

tools/cmake: fix parallel build with Make 4.2+


Avoid using the --parallel argument to the CMake bootstrap, as that doesn't
allow us to remove the -j argument. Instead, pass the HOST_JOBS arguments
in MAKEFLAGS.

Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
parent 6fb212f2
No related branches found
No related tags found
No related merge requests found
......@@ -19,10 +19,11 @@ HOST_CONFIGURE_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
HOST_CONFIGURE_CMD := MAKEFLAGS="$(HOST_JOBS)" $(BASH) ./configure
HOST_CONFIGURE_VARS :=
HOST_CONFIGURE_ARGS := \
--prefix=$(STAGING_DIR_HOST) \
$(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)")
--prefix=$(STAGING_DIR_HOST)
$(eval $(call HostBuild))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment