diff --git a/build.sh b/build.sh index 2b4c356..08b9eda 100755 --- a/build.sh +++ b/build.sh @@ -7,7 +7,7 @@ source util.sh cd build # Number of processor cores -if [[ $(uname) == "OpenBSD" ]]; then +if [[ $(uname) == "OpenBSD" || $(uname) == "Darwin" ]]; then cores=$(sysctl -n hw.ncpu) else cores=$(nproc)