diff options
author | Matt Jolly <kangie@gentoo.org> | 2024-11-30 13:35:01 +1000 |
---|---|---|
committer | Matt Jolly <kangie@gentoo.org> | 2024-11-30 14:08:42 +1000 |
commit | 4fa8d71be382cc4342280c654958441a1ef1e9fb (patch) | |
tree | 186e879af2e6a40442900452cffaa72cdb7da451 /app-misc/rtlamr | |
parent | www-client/chromium: drop 132.0.6834.6 (diff) | |
download | gentoo-master.tar.gz gentoo-master.tar.bz2 gentoo-master.zip |
When enabling the Rust eclass, we started directly using
`llvm-r1_pkg_setup`, assuming that this combination would be
sufficicent, however due to forcing `CC` (etc) to variations
on `${CHOST}-clang" _before_ calling `llvm-r1_pkg_setup`,
these would always be forced to the newest version in
`PATH` instead of the one matching `LLVM_SLOT` due to
the eclass fixing the version before doing any `PATH`
manipulation.
To ensure a consistent build environment, we will:
1. Explicitly include `-${LLVM_SLOT}` in `CC`, `CPP`, `CXX`
2. Set these variables (and `AR` and `NM`) after `llvm-r1_pkg_setup`
has done its PATH manipulation.
Bug: https://bugs.gentoo.org/935689
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'app-misc/rtlamr')
0 files changed, 0 insertions, 0 deletions