Ignore set but empty CORES variable

Change the behavior when the CORES environment variable
is set and empty.
Now `-j` will not be added to make/ninja.
This commit is contained in:
Norbert Lange authored and Martin Storsjö committed 2023-09-27 22:53:01 +03:00
1 parent 2bfe3e7c48
commit 97cd12a63a
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -309,6 +309,6 @@ cmake \
$CMAKEFLAGS \
..
$BUILDCMD ${CORES+-j$CORES} install/strip
$BUILDCMD ${CORES:+-j${CORES}} install/strip
cp ../LICENSE.TXT $PREFIX