[packages/glycin] use PKG_CONFIG_ALLOW_CROSS=1 on all archs too

atler atler at pld-linux.org
Mon Feb 3 19:32:49 CET 2025


commit 1dd343589c3c1e838a4b91dbc8ea6a0183dfe950
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Feb 3 18:59:40 2025 +0100

    use PKG_CONFIG_ALLOW_CROSS=1 on all archs too
    
    what it means in practice is to allow usage of system pkg-config when
    target does match host tools triplet. pkg_config crates assumes a
    cross-compilation build then and requires additional setup. since we
    never do cross-compilation in practice (many more things need changing
    if we wanted to), just override default behavior and allow use of system
    pkg-config.
    
    useful for other tier-2 platforms without host tools too (ie
    thumbv7neon-unknown-linux-gnueabihf)

 glycin.spec | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/glycin.spec b/glycin.spec
index dd36bdb..1592640 100644
--- a/glycin.spec
+++ b/glycin.spec
@@ -129,9 +129,7 @@ wczytujących działających w piaskownicy.
 	-e "s,/ rust_target /,/ '%rust_target' / rust_target /," libglycin/meson.build loaders/meson.build
 
 %build
-%ifarch x32
 export PKG_CONFIG_ALLOW_CROSS=1
-%endif
 export RUSTFLAGS="%{rpmrustflags}"
 %meson build \
 	-Dintrospection=false \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glycin.git/commitdiff/f634569643ae60c26cbe39a0413f6e90bae34fae



More information about the pld-cvs-commit mailing list