Unset CC before building to prevent env pollution
This commit is contained in:
1 parent
cc0055bc96
commit
c0596d3170
2 files changed
+3
No files matched your search
@@ -24,6 +24,7 @@ PREFIX="$1"
|
||||
mkdir -p "$PREFIX"
|
||||
PREFIX="$(cd "$PREFIX" && pwd)"
|
||||
export PATH="$PREFIX/bin:$PATH"
|
||||
unset CC
|
||||
|
||||
: ${CORES:=$(nproc 2>/dev/null)}
|
||||
: ${CORES:=$(sysctl -n hw.ncpu 2>/dev/null)}
|
||||
|
||||
Reference in new issue
Block a user