Don't use -j alone for portability
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
1 parent
264f26286d
commit
ed1cf51af2
1 file changed
+3
-1
@@ -23,5 +23,7 @@ rm -rf libsodium-stable
|
||||
tar zxf "$dir/$file"
|
||||
cd libsodium-stable || exit 1
|
||||
|
||||
NPROC=$(sysctl -n hw.ncpu || nproc) 2>/dev/null
|
||||
|
||||
./configure ${1+--host=$1} --enable-minimal --disable-dependency-tracking --enable-static --disable-shared
|
||||
make -j
|
||||
make "-j$((NPROC+1))"
|
||||
Reference in new issue
Block a user