Skip to content

Commit 3dd74af

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

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,13 +400,19 @@ jobs:
400400
401401
mkdir -p fakebin
402402
403-
# We use <<-EOF so bash strips TAB indentation and keeps shebang at column 0.
404-
cat <<-EOF > fakebin/cc
403+
# cc wrapper used by native_cdrkit / cmake
404+
cat <<'EOF' > fakebin/cc
405405
#!/bin/bash
406-
exec clang "$@"
406+
exec /usr/bin/clang "$@"
407407
EOF
408408
409-
chmod +x fakebin/cc
409+
# clang wrapper for things like openssl's util/domd calling 'clang'
410+
cat <<'EOF' > fakebin/clang
411+
#!/bin/bash
412+
exec /usr/bin/clang "$@"
413+
EOF
414+
415+
chmod +x fakebin/cc fakebin/clang
410416
411417
export PATH="$(pwd)/fakebin:$PATH"
412418

0 commit comments

Comments
 (0)