summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--build.vars3
-rw-r--r--pkg.build4
2 files changed, 5 insertions, 2 deletions
diff --git a/build.vars b/build.vars
index cf530934..ae6cf1b4 100644
--- a/build.vars
+++ b/build.vars
@@ -155,7 +155,8 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}";
: ${PKG_GLIB_CONFIGURE_ARGS_EXTRA:=--with-pcre=internal --disable-libelf};
: ${PKG_GLIB_ENV_VARS_EXTRA:=LIBFFI_CFLAGS=-I${PREFIX_LVL3}/lib/libffi-3.2.1/include:LIBFFI_LIBS=-L${PREFIX_LVL3}/lib -lffi};
: ${PKG_GLIB_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX_LVL3}/lib};
-: ${PKG_GLIB_MAKEFLAGS_BUILD_EXTRA:=V=99 -j1};
+: ${PKG_GLIB_MAKEFLAGS_BUILD_EXTRA:=V=99};
+: ${PKG_GLIB_SLIBTOOL:=none};
: ${PKG_GMP_VERSION:=5.1.3};
: ${PKG_GMP_SHA256SUM:=752079520b4690531171d0f4532e40f08600215feefede70b24fabdc6f1ab160};
: ${PKG_GMP_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_VERSION}.tar.bz2};
diff --git a/pkg.build b/pkg.build
index e56e9c50..3cb38e5c 100644
--- a/pkg.build
+++ b/pkg.build
@@ -104,7 +104,9 @@ if ! is_build_script_done build; then
if test_cmd pkg_${PKG_NAME}_build; then
pkg_${PKG_NAME}_build;
else
- export MAKE="make LIBTOOL=${PKG_SLIBTOOL:-slibtool}";
+ if [ "${PKG_SLIBTOOL}" != "none" ]; then
+ export MAKE="make LIBTOOL=${PKG_SLIBTOOL:-slibtool}";
+ fi;
run_cmd_unsplit make \
${PKG_MAKEFLAGS_BUILD} \
${PKG_MAKEFLAGS_BUILD_EXTRA} \