summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/a/xz
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/a/xz')
-rwxr-xr-xslackware64-current/source/a/xz/xz.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/slackware64-current/source/a/xz/xz.SlackBuild b/slackware64-current/source/a/xz/xz.SlackBuild
index 8bac70d13..b065ae53d 100755
--- a/slackware64-current/source/a/xz/xz.SlackBuild
+++ b/slackware64-current/source/a/xz/xz.SlackBuild
@@ -62,6 +62,8 @@ case "$ARCH" in
;;
esac
+NUMJOBS=${NUMJOBS:-" -j7 "}
+
CWD=$(pwd)
# Temporary build location. This should *NOT* be a directory
# path a non-root user could create later...
@@ -94,10 +96,10 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-rpath \
--program-prefix= \
--program-suffix= \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux || exit 1
-make || exit 1
-make DESTDIR=$PKG install
+make $NUMJOBS || make || exit 1
+make DESTDIR=$PKG install || exit 1
# It might be advisable to have the libraries in /lib${LIBDIRSUFFIX}:
mkdir -p $PKG/lib${LIBDIRSUFFIX}