]> git.pld-linux.org Git - packages/rust.git/commitdiff
define cc/cxx/ar also during install
authorJan Palus <atler@pld-linux.org>
Tue, 25 Jan 2022 12:19:50 +0000 (13:19 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 25 Jan 2022 12:19:50 +0000 (13:19 +0100)
rust.spec

index c0cea7ba535b14205120fda6bd2cb35b3d23b812..95594ad2a88dc6c513ce0c903b0c05a96b05fc2a 100644 (file)
--- 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
 
This page took 0.357482 seconds and 4 git commands to generate.