Change #271751
| Category | None |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Fri 19 Jun 2026 00:53:04 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | 8f5e4f020e79ec1fd1e8540bdea3c1c20030405b |
Comments
GHA: fix Linux triplet passed to `CMAKE_C_COMPILER_TARGET`
Before this patch it broke clang 20/21 cmake builds on ubuntu-26.04-arm
runner, failing at the beginning of the configure stage while probing
the compiler.
Seen in the 'CM openssl clang krb5 LTO' job:
```
: && /usr/bin/clang --target=aarch64-pc-linux-gnu CMakeFiles/cmTC_3d9ae.dir/testCCompiler.c.o -o cmTC_3d9ae && :
/usr/bin/aarch64-linux-gnu-ld.bfd: cannot find crtbeginS.o: No such file or directory
/usr/bin/aarch64-linux-gnu-ld.bfd: cannot find -lgcc: No such file or directory
/usr/bin/aarch64-linux-gnu-ld.bfd: cannot find -lgcc_s: No such file or directory
```
Ref: https://github.com/curl/curl/actions/runs/27778098314/job/82195462687#step:38:66
Follow-up to 36bd8074758a0b3a784403eb3d2cc31d240de896 #15242
Follow-up to 232302f88a152a1d1722da9f69c383a766528918 #14382
Cherry-picked from #22092
Closes #22097
Changed files
- .github/workflows/http3-linux.yml
- .github/workflows/linux.yml