summaryrefslogtreecommitdiff
path: root/source/l/libdiscid/libdiscid.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libdiscid/libdiscid.SlackBuild')
-rwxr-xr-xsource/l/libdiscid/libdiscid.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/l/libdiscid/libdiscid.SlackBuild b/source/l/libdiscid/libdiscid.SlackBuild
index d6c7b9b4..a9daab56 100755
--- a/source/l/libdiscid/libdiscid.SlackBuild
+++ b/source/l/libdiscid/libdiscid.SlackBuild
@@ -50,6 +50,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""