[packages/rust] explicitly set cc/cxx/ar
atler
atler at pld-linux.org
Mon Jan 10 21:06:20 CET 2022
commit 863a59ffec666120cc6b800ec4493a4d4f6f39c6
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jan 10 11:01:39 2022 +0100
explicitly set cc/cxx/ar
rust.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/rust.spec b/rust.spec
index ed6f9d8..80d39ec 100644
--- a/rust.spec
+++ b/rust.spec
@@ -384,6 +384,9 @@ find vendor -name .cargo-checksum.json \
-exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' '+'
%build
+export CC="%{__cc}"
+export CXX="%{__cxx}"
+export AR="%{__ar}"
%configure \
--build=%{rust_bootstrap_triple} \
--host=%{rust_host_triple} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rust.git/commitdiff/6c4856cef61447a85be330a5c755be813a297998
More information about the pld-cvs-commit
mailing list