From f8cf106fc971c9c61709443860b1f728ca4cfc9a Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Tue, 11 May 2021 20:11:22 +0200 Subject: [PATCH] ci: unset CC/CXX before make install on macos arm64 Having these set causes zig's native libc detection code to fail. --- ci/azure/macos_arm64_script | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/azure/macos_arm64_script b/ci/azure/macos_arm64_script index c1b93012db..612edf677f 100755 --- a/ci/azure/macos_arm64_script +++ b/ci/azure/macos_arm64_script @@ -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/