mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
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 <sam@gentoo.org>
This commit is contained in:
@@ -333,7 +333,7 @@ src_configure() {
|
||||
debuginfo-level-tests = 0
|
||||
backtrace = true
|
||||
incremental = false
|
||||
default-linker = "$(tc-getCC)"
|
||||
default-linker = "${CHOST}-cc"
|
||||
parallel-compiler = $(toml_usex parallel-compiler)
|
||||
channel = "$(usex nightly nightly stable)"
|
||||
description = "gentoo"
|
||||
|
||||
@@ -399,7 +399,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)"
|
||||
|
||||
@@ -365,7 +365,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)"
|
||||
|
||||
@@ -364,7 +364,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)"
|
||||
|
||||
@@ -363,7 +363,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)"
|
||||
|
||||
@@ -362,7 +362,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)"
|
||||
|
||||
@@ -362,7 +362,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)"
|
||||
|
||||
@@ -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)"
|
||||
|
||||
@@ -365,7 +365,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)"
|
||||
|
||||
@@ -373,7 +373,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)"
|
||||
|
||||
@@ -373,7 +373,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)"
|
||||
|
||||
@@ -374,7 +374,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)"
|
||||
|
||||
@@ -374,7 +374,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)"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -461,7 +461,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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -469,7 +469,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"
|
||||
|
||||
@@ -469,7 +469,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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user