Do not hardcode the number of cores to use for compilation.

This commit is contained in:
XsparkieX 2020-09-06 17:07:05 +02:00
parent b678cbd3e3
commit 3f4d8f30e7

View file

@ -4,7 +4,7 @@ cd ..
TARGET=debug
make -j24 $TARGET
make -j $(getconf _NPROCESSORS_ONLN) $TARGET
if [ $? -ne 0 ]; then
echo "Failed to build ioq3"
exit 1