diff options
| author | 2025-03-20 06:31:45 +0000 | |
|---|---|---|
| committer | 2025-03-20 10:51:35 +0000 | |
| commit | f65ef3fddd9ef9cc3d2d172f6da9a39231b1e2d1 (patch) | |
| tree | 59c2fbfae41b844863ed46d0b667457512da604d /dev-lang/rust/rust-1.80.1-r101.ebuild | |
| parent | net-analyzer/scapy: add 2.6.1 (diff) | |
| download | gentoo-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-1.80.1-r101.ebuild')
| -rw-r--r-- | dev-lang/rust/rust-1.80.1-r101.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.80.1-r101.ebuild b/dev-lang/rust/rust-1.80.1-r101.ebuild index e535b914f811..a16db5442801 100644 --- a/dev-lang/rust/rust-1.80.1-r101.ebuild +++ b/dev-lang/rust/rust-1.80.1-r101.ebuild @@ -361,7 +361,7 @@ src_configure() { backtrace = true incremental = false $(if ! tc-is-cross-compiler; then - echo "default-linker = \"$(tc-getCC)\"" + echo "default-linker = \"${CHOST}-cc\"" fi) parallel-compiler = $(toml_usex parallel-compiler) channel = "$(usex nightly nightly stable)" |
