diff options
-rw-r--r-- | games/wesnoth/wesnoth.SlackBuild | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/games/wesnoth/wesnoth.SlackBuild b/games/wesnoth/wesnoth.SlackBuild index 9d0b6faedfd4..6e1ed53ca279 100644 --- a/games/wesnoth/wesnoth.SlackBuild +++ b/games/wesnoth/wesnoth.SlackBuild @@ -73,20 +73,6 @@ fi set -e -if [ -z "$NUMJOBS" ]; then - # 20220221 bkw: everything else respects MAKEFLAGS, set NUMJOBS here - # from environment MAKEFLAGS, if we can... - NUMJOBS="$( echo $MAKEFLAGS | sed 's,.*-j *\([0-9][0-9]*\).*,\1,' )" - - # ...if not, cores - 1: - [ -z "$NUMJOBS" ] && NUMJOBS=$(( $( nproc ) - 1 )) - - # ...but not if we only had one core! - [ "$NUMJOBS" = "0" ] && NUMJOBS=1 -fi - -echo "=== NUMJOBS='$NUMJOBS'" - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION @@ -113,7 +99,6 @@ scons \ icondir=/usr/share/icons \ desktopdir=/usr/share/applications \ $OPT_SERVER \ - jobs=${NUMJOBS} \ wesnoth wesnothd campaignd scons install destdir=$PKG |