mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 16:24:51 +00:00
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:
parent
3b2c9ef828
commit
f8cf106fc9
@ -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/
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user