[packages/librsvg] - try another way with x32

qboosh qboosh at pld-linux.org
Sat Mar 22 19:10:09 CET 2025


commit 268bd24d15d8ffabe695f16f3926dc2ef45ab530
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 22 18:51:36 2025 +0100

    - try another way with x32

 librsvg.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/librsvg.spec b/librsvg.spec
index 3e5cca7..2f21968 100644
--- a/librsvg.spec
+++ b/librsvg.spec
@@ -194,7 +194,6 @@ EOF
 %build
 export CARGO_HOME="$(pwd)/.cargo"
 export PKG_CONFIG_ALLOW_CROSS=1
-RUSTFLAGS="%{rpmrustflags} --target=%{rust_target}"
 %meson \
 	%{!?with_static_libs:--default-library=shared} \
 	-Davif=enabled \
@@ -202,6 +201,9 @@ RUSTFLAGS="%{rpmrustflags} --target=%{rust_target}"
 	-Dintrospection=enabled \
 	-Dpixbuf=enabled \
 	-Dpixbuf-loader=enabled \
+%ifarch x32
+	-Dtriplet=x86_64-unknown-linux-gnux32 \
+%endif
 	-Dvala=%{__enabled_disabled vala}
 
 %meson_build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/librsvg.git/commitdiff/268bd24d15d8ffabe695f16f3926dc2ef45ab530



More information about the pld-cvs-commit mailing list