Skip to content

Commit 3b7c35a

Browse files
Update ci.yml
1 parent ddbbb04 commit 3b7c35a

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,18 +399,21 @@ jobs:
399399
echo "▶ Setting global compiler override…"
400400
401401
mkdir -p fakebin
402-
cat <<'EOF' > fakebin/ccmac
402+
403+
# We use <<-EOF so bash strips TAB indentation and keeps shebang at column 0.
404+
cat <<-EOF > fakebin/cc
403405
#!/bin/bash
404-
exec x86_64-apple-darwin11-clang "$@"
406+
exec clang "$@"
405407
EOF
406-
chmod +x fakebin/ccmac
408+
409+
chmod +x fakebin/cc
407410
408411
export PATH="$(pwd)/fakebin:$PATH"
409412
410413
echo "▶ Building depends with forced compiler override…"
411-
CC=ccmac \
412-
CXX=ccmac \
413-
CC_FOR_BUILD=ccmac \
414+
CC=cc \
415+
CXX=clang++ \
416+
CC_FOR_BUILD=cc \
414417
make $MAKEJOBS -C depends HOST=${{ matrix.host }}
415418
416419
- name: CCache

0 commit comments

Comments
 (0)