[packages/rust/linker-debug] disable rust-lld during bootstrap build
atler
atler at pld-linux.org
Mon Feb 2 01:45:36 CET 2026
commit 4c9ef3a05cdcaf85f3f69a6eb6c68975f6fdcf91
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Feb 2 01:43:58 2026 +0100
disable rust-lld during bootstrap build
rust.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/rust.spec b/rust.spec
index a26ac32..b944694 100644
--- a/rust.spec
+++ b/rust.spec
@@ -411,6 +411,9 @@ find vendor -name .cargo-checksum.json \
export CC="%{__cc}"
export CXX="%{__cxx}"
export AR="%{__ar}"
+%if %{with bootstrap}
+export RUSTFLAGS="%{rpmrustflags} -C linker-features=-lld"
+%endif
%configure \
--build=%{rust_bootstrap_triple} \
--host=%{rust_host_triple} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rust.git/commitdiff/4c9ef3a05cdcaf85f3f69a6eb6c68975f6fdcf91
More information about the pld-cvs-commit
mailing list