diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-27 10:56:58 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2022-02-27 22:29:04 -0600 |
commit | 22d558c18e015c69187fef567d039dd87e6805e7 (patch) | |
tree | 99d6e577014b924c7ebda6f1dba16254de8d912c /academic/Gridcoin-Research | |
parent | 250624dadd294669bf4d184be1294ed1dce2964f (diff) | |
download | slackbuilds-22d558c18e015c69187fef567d039dd87e6805e7.tar.gz |
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>
Diffstat (limited to 'academic/Gridcoin-Research')
-rw-r--r-- | academic/Gridcoin-Research/Gridcoin-Research.SlackBuild | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild b/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild index b311b81328..c6121cf35b 100644 --- a/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild +++ b/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild @@ -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 \ |