build: add the + token to any commands that can pass through the jobserver, fixes...
[librecmc/librecmc.git] / tools / cmake / Makefile
index 54c63757c70b3a8396d815312c45ad8854ba2696..47df5d961e3deb9c9c33af5514ae2a40c9f67efa 100644 (file)
@@ -13,6 +13,12 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.cmake.org/files/v2.8/
 PKG_MD5SUM:=e1b237aeaed880f65dec9c20602452f6
 
+HOST_BUILD_PARALLEL:=1
+HOST_CONFIGURE_PARALLEL:=1
+
 include $(INCLUDE_DIR)/host-build.mk
 
+HOST_CONFIGURE_ARGS += \
+       $(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)")
+
 $(eval $(call HostBuild))