ci: unset CC/CXX before make install on macos arm64

Having these set causes zig's native libc detection code to fail.
This commit is contained in:
Isaac Freund 2021-05-11 20:11:22 +02:00
parent 3b2c9ef828
commit f8cf106fc9
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -55,11 +55,11 @@ cmake .. \
-DZIG_TARGET_MCPU="$HOST_MCPU" \
-DZIG_STATIC=ON
make $JOBS install
unset CC
unset CXX
make $JOBS install
# Build zig compiler cross-compiled for arm64
cd $ZIGDIR
@ -79,11 +79,11 @@ cmake .. \
-DZIG_EXECUTABLE="$ZIG" \
-DZIG_STATIC=ON
make $JOBS install
unset CC
unset CXX
make $JOBS install
if [ "${BUILD_REASON}" != "PullRequest" ]; then
mv ../LICENSE release/