TOOLS_PREFIX is set during the cross-tools build; use this to link cross tools against the static llvm lib. This logic existed in existing cross tools (either via clang.prog.mk or bespoke rules) but was missing from llvm.prog.mk.
Details
Details
- Reviewers
dim jrtc27 - Group Reviewers
build - Commits
- rGd478715a7289: llvm: Link cross-tools with static libllvm.a
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Hm, at first I was confused because TOOLS_PREFIX seems to be tested in the first .if statement, but that is only for the tblgen tools. But LGTM.
| usr.bin/clang/llvm.prog.mk | ||
|---|---|---|
| 17 | Hm, at first I was confused because TOOLS_PREFIX seems to be tested in the first .if statement, but that is only for the tblgen tools. | |