No consumers change CC atm but if users do something like CC=ccache gcc9 build will fail as -C linker appears to only accept command (found via PATH) or absolute path.
Details
Details
- Reviewers
- None
- Group Reviewers
rust O5: Ports Framework (Owns No Changed Paths) portmgr - Commits
- rP487455: USES=cargo to respect CC for linking
Diff Detail
Diff Detail
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 21516 Build 20829: arc lint + arc unit
Event Timeline
Comment Actions
Hmm, I guess it's ok.
Do you have any example use cases in mind for overriding the linker driver?
Comment Actions
I build base and ports using devel/llvm60 and /usr/bin/cc doesn't exist. The binary rust package seems to have /usr/bin/cc hardcoded and can't build any rust ports without this change. (Firefox does build, but that's because its build scripts add -C linker.)