Toolchain: Add macOS definitions of MD5SUM and NPROC in BuildIt.sh

This commit is contained in:
Nico Weber 2023-01-08 19:08:28 -05:00 committed by Andrew Kaster
parent f2011ad0dd
commit 491af34d36
Notes: sideshowbarker 2024-07-17 23:07:41 +09:00

View file

@ -49,6 +49,9 @@ elif [ "$SYSTEM_NAME" = "FreeBSD" ]; then
NPROC="sysctl -n hw.ncpu"
export with_gmp=/usr/local
export with_mpfr=/usr/local
elif [ "$SYSTEM_NAME" = "Darwin" ]; then
MD5SUM="md5 -q"
NPROC="sysctl -n hw.ncpu"
fi
# On at least OpenBSD, the path must exist to call realpath(3) on it