llvm-project
llvm-project copied to clipboard
🍒[next] Set Swift clang-linker path
The swift driver is picking up the system clang instead of using the clang set in CC. The system clang is attempting to use bfd to link Swift, which doesn't work due to Swift's protected symbol usage.
(cherry picked from commit 1f6bd5557207f61d5da4c66b657c12468fa4e9aa)
@swift-ci please test
@swift-ci please test
2bed443d0657c (Adrian Prantl 2024-06-06 106) SWIFTFLAGS += -tools-directory "$(shell dirname $(CC))"
Looks like this is there now.