mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-26 19:30:21 +00:00
Set MAKEJOBS in cryptest-pem.sh
This commit is contained in:
parent
93208e8393
commit
5cf87aed66
@ -17,6 +17,9 @@ SED=sed
|
|||||||
AWK=awk
|
AWK=awk
|
||||||
MAKE=make
|
MAKE=make
|
||||||
|
|
||||||
|
# Set make jobs to 2 if not set
|
||||||
|
MAKEJOBS="${MAKEJOBS:-2}"
|
||||||
|
|
||||||
# Fixup, Solaris and friends
|
# Fixup, Solaris and friends
|
||||||
if [[ (-d /usr/xpg4/bin) ]]; then
|
if [[ (-d /usr/xpg4/bin) ]]; then
|
||||||
SED=/usr/xpg4/bin/sed
|
SED=/usr/xpg4/bin/sed
|
||||||
@ -87,7 +90,7 @@ echo ""
|
|||||||
|
|
||||||
"$MAKE" clean &>/dev/null
|
"$MAKE" clean &>/dev/null
|
||||||
|
|
||||||
if ! "$MAKE" -j 2; then
|
if ! "$MAKE" -j ${MAKEJOBS}; then
|
||||||
echo "make failed."
|
echo "make failed."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user