summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <[email protected]>2025-03-20 06:31:45 +0000
committerSam James <[email protected]>2025-03-20 10:51:35 +0000
commitf65ef3fddd9ef9cc3d2d172f6da9a39231b1e2d1 (patch)
tree59c2fbfae41b844863ed46d0b667457512da604d /dev-lang/rust/rust-9999.ebuild
parentnet-analyzer/scapy: add 2.6.1 (diff)
downloadgentoo-f65ef3fddd9ef9cc3d2d172f6da9a39231b1e2d1.tar.gz
gentoo-f65ef3fddd9ef9cc3d2d172f6da9a39231b1e2d1.tar.bz2
gentoo-f65ef3fddd9ef9cc3d2d172f6da9a39231b1e2d1.zip
dev-lang/rust: provide more neutral `default-linker`
... otherwise CC at the time of building dev-lang/rust is baked in, which is problematic if e.g. CC=clang-19 is used and then it gets depcleaned later (as reported on the gentoo-user ML). Signed-off-by: Sam James <[email protected]>
Diffstat (limited to 'dev-lang/rust/rust-9999.ebuild')
-rw-r--r--dev-lang/rust/rust-9999.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild
index 97c665f7828d..d7dd9d8d660c 100644
--- a/dev-lang/rust/rust-9999.ebuild
+++ b/dev-lang/rust/rust-9999.ebuild
@@ -462,7 +462,7 @@ src_configure() {
backtrace = true
incremental = false
$(if ! tc-is-cross-compiler; then
- echo "default-linker = \"$(tc-getCC)\""
+ echo "default-linker = \"${CHOST}-cc\""
fi)
channel = "${build_channel}"
description = "gentoo"