mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
academic/boinc: Use MAKEFLAGS to pass numjobs.
We only hardcode -j1 if a build cannot work with multiple jobs, otherwise rely on MAKEFLAGS. https://idlemoor.gitlab.io/2016/09/15/Builds-that-need-j1.html Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
b617505549
commit
4796287136
1 changed files with 1 additions and 2 deletions
|
@ -32,7 +32,6 @@ BRANCH=${BRANCH:-7.16}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
NUMJOBS=${NUMJOBS:-1}
|
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
|
@ -110,7 +109,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--with-x \
|
--with-x \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make -j${NUMJOBS}
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
|
Loading…
Reference in a new issue