[packages/rust/linker-debug] set RUSTFLAGS before install

atler atler at pld-linux.org
Mon Feb 2 12:17:18 CET 2026


commit 37c305cdb0614e8c0ce1c378de00d7b0b441094c
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Feb 2 12:14:38 2026 +0100

    set RUSTFLAGS before install

 rust.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/rust.spec b/rust.spec
index 10c9984..3b410d5 100644
--- a/rust.spec
+++ b/rust.spec
@@ -455,6 +455,7 @@ rm -rf $RPM_BUILD_ROOT
 export CC="%{__cc}"
 export CXX="%{__cxx}"
 export AR="%{__ar}"
+export RUSTFLAGS="%{rpmrustflags}"
 export DESTDIR=$RPM_BUILD_ROOT
 %x_py install
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rust.git/commitdiff/9d0b04c9868e51608a06ed19211395e98d3529fc



More information about the pld-cvs-commit mailing list