[packages/rpm-pld-macros] unconditionally set PKG_CONFIG_ALLOW_CROSS in cargo macros
atler
atler at pld-linux.org
Mon Jan 10 21:06:38 CET 2022
commit 9743e5e65a63ba7c17b3c558a27c021b286a808b
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jan 10 20:27:57 2022 +0100
unconditionally set PKG_CONFIG_ALLOW_CROSS in cargo macros
macros.rust | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/macros.rust b/macros.rust
index c0d849e..e439f12 100644
--- a/macros.rust
+++ b/macros.rust
@@ -32,9 +32,7 @@ armv7-unknown-linux-gnueabihf\\\
%__cargo /usr/bin/cargo
%__cargo_common_opts -v --offline
%cargo_build \\\
-%ifarch x32 \
PKG_CONFIG_ALLOW_CROSS=1 \\\
-%endif \
RUSTFLAGS="${RUSTFLAGS:-%rpmrustflags}" \\\
%{?__jobs:CARGO_BUILD_JOBS="${CARGO_BUILD_JOBS:-%{__jobs}}"} \\\
%{__cargo} %{__cargo_common_opts} build %{!?debug:--release} \\\
@@ -43,9 +41,7 @@ armv7-unknown-linux-gnueabihf\\\
%{nil}
%cargo_install \\\
-%ifarch x32 \
PKG_CONFIG_ALLOW_CROSS=1 \\\
-%endif \
RUSTFLAGS="${RUSTFLAGS:-%rpmrustflags}" \\\
%{?__jobs:CARGO_BUILD_JOBS="${CARGO_BUILD_JOBS:-%{__jobs}}"} \\\
%{__cargo} %{__cargo_common_opts} install \\\
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/733059e0ba5e141155f6804f2266f5043cb38eee
More information about the pld-cvs-commit
mailing list