summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-18 10:36:54 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-18 10:36:54 -0700
commite787154cb4561e031cd948b08671fb0e9c18cc82 (patch)
tree7f54c3cf864052fffe9cb241500f4172a39fd71d
parent626180ff1711e1e0eb3be2be64e0d7d2579ffc55 (diff)
downloadnasmbuild-e787154cb4561e031cd948b08671fb0e9c18cc82.tar.gz
nasmbuild-e787154cb4561e031cd948b08671fb0e9c18cc82.tar.xz
nasmbuild-e787154cb4561e031cd948b08671fb0e9c18cc82.zip
buildall.sh: export MAKE for parallel make
-rwxr-xr-xbuildall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildall.sh b/buildall.sh
index 1b0c99d..a4435f0 100755
--- a/buildall.sh
+++ b/buildall.sh
@@ -31,6 +31,7 @@ build () {
cpus=$(grep '^processor' < /proc/cpuinfo | wc -l)
jobs=$((cpus+2))
makej="make -j$jobs"
+ export MAKE="$makej"
rm -rf nasm-* win32 win64 dos macosx os2 rpmbuild doc html
mkdir -p rpmbuild/{BUILD,RPMS,SRPMS,SPECS,SOURCES}