mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
academic/Gridcoin-Research: 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: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
250624dadd
commit
22d558c18e
1 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,6 @@ VERSION=${VERSION:-5.3.2.0}
|
|||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
NUMJOBS=${NUMJOBS:-1}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -108,7 +107,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
$usepnp \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make -j${NUMJOBS}
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
|
|
Loading…
Reference in a new issue