Skip to content

Commit 2a3e298

Browse files
committed
Fix defaults for macOS in linux-build.sh
1 parent cab4665 commit 2a3e298

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

linux-build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ fi
1616
# Number of cores
1717
if [ "$(uname)" == "Darwin" ]; then
1818
NUM_CORES=$(sysctl -n hw.ncpu)
19+
: ${GCC_PREFIX:=}
20+
: ${AR:=ar}
21+
: ${CC:=gcc}
22+
: ${CXX:=g++}
1923
else
2024
NUM_CORES=$(grep -c ^processor /proc/cpuinfo)
2125
fi

0 commit comments

Comments
 (0)