summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/build.vars2
-rw-r--r--vars/cmake.vars2
2 files changed, 2 insertions, 2 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 4e79f103..1088340a 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -420,7 +420,7 @@ LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}";
: ${PKG_CMAKE_VERSION:=3.6.3};
: ${PKG_CMAKE_SHA256SUM:=7d73ee4fae572eb2d7cd3feb48971aea903bb30a20ea5ae8b4da826d8ccad5fe};
: ${PKG_CMAKE_URL:=https://cmake.org/files/v${PKG_CMAKE_VERSION%.*}/cmake-${PKG_CMAKE_VERSION}.tar.gz};
-: ${PKG_CMAKE_CONFIGURE_ARGS:="--prefix="};
+: ${PKG_CMAKE_CONFIGURE_ARGS:="--parallel=${BUILD_CPUS} --prefix="};
: ${PKG_CMAKE_MAKEFLAGS_INSTALL:=};
: ${PKG_COREUTILS_PREFIX_EXTRA:=${PREFIX_MINIPIX}};
: ${PKG_COREUTILS_SHA256SUM:=ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d};
diff --git a/vars/cmake.vars b/vars/cmake.vars
index 42b31504..4a13f37d 100644
--- a/vars/cmake.vars
+++ b/vars/cmake.vars
@@ -11,7 +11,7 @@ pkg_cmake_configure() {
log_msg info "Bootstrapping cmake...";
(unset AR CC RANLIB;
../cmake-${PKG_VERSION}/configure ${PKG_CONFIGURE_ARGS};
- make DESTDIR=${PREFIX} install);
+ make ${DEFAULT_MAKEFLAGS_BUILD} DESTDIR=${PREFIX} install);
log_msg info "Finished bootstrapping cmake.";
stat ../cmake-${PKG_VERSION};
};