[packages/Mesa] --target was lost from %meson in cleanup so bring it back manually
    atler 
    atler at pld-linux.org
       
    Mon Feb 24 19:55:49 CET 2025
    
    
  
commit 960dedcbf980ae420d5e2049ffaee29b23c2b3a6
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Feb 24 19:32:59 2025 +0100
    --target was lost from %meson in cleanup so bring it back manually
    
    mind it should not be part of global flags though. not all sources are
    meant for target, some, like proc macros, are built for build machine.
 Mesa.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/Mesa.spec b/Mesa.spec
index d323147..7752fb2 100644
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -1261,6 +1261,7 @@ export BINDGEN_EXTRA_CLANG_ARGS="-mfloat-abi=hard"
 %endif
 %endif
 
+export RUSTFLAGS="%{rpmrustflags} --target=%rust_target"
 %meson \
 	--force-fallback-for=syn,unicode-ident,quote,proc-macro2 \
 	-Dplatforms=x11%{?with_wayland:,wayland} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Mesa.git/commitdiff/960dedcbf980ae420d5e2049ffaee29b23c2b3a6
    
    
More information about the pld-cvs-commit
mailing list