[packages/gstreamer] - pass rust target flag

qboosh qboosh at pld-linux.org
Fri Feb 28 19:31:32 CET 2025


commit 581b5d69e9da92a3098e4be0fed3b9d5baef6d44
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Feb 28 19:14:30 2025 +0100

    - pass rust target flag

 gstreamer.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gstreamer.spec b/gstreamer.spec
index dec7f26..66b1f9b 100644
--- a/gstreamer.spec
+++ b/gstreamer.spec
@@ -148,6 +148,7 @@ gst-launch.
 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' docs/gst-plugins-doc-cache-generator.py
 
 %build
+export RUSTFLAGS="%{rpmrustflags} --target=%{rust_target}"
 %meson \
 	%{!?with_static_libs:--default-library=shared} \
 	-Ddbghelp=disabled \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer.git/commitdiff/581b5d69e9da92a3098e4be0fed3b9d5baef6d44



More information about the pld-cvs-commit mailing list