[packages/rust] define cc/cxx/ar also during install
atler
atler at pld-linux.org
Tue Jan 25 13:20:27 CET 2022
commit 13ab0532ab7183b4cc79085d409623075e5b29b8
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Jan 25 13:19:50 2022 +0100
define cc/cxx/ar also during install
rust.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/rust.spec b/rust.spec
index c0cea7b..95594ad 100644
--- a/rust.spec
+++ b/rust.spec
@@ -422,6 +422,9 @@ export RUST_BACKTRACE=full
%install
rm -rf $RPM_BUILD_ROOT
+export CC="%{__cc}"
+export CXX="%{__cxx}"
+export AR="%{__ar}"
export DESTDIR=$RPM_BUILD_ROOT
%x_py install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rust.git/commitdiff/13ab0532ab7183b4cc79085d409623075e5b29b8
More information about the pld-cvs-commit
mailing list