[packages/alacritty] - override target for x32, now it fails to build with compile errors
baggins
baggins at pld-linux.org
Tue Feb 16 08:33:49 CET 2021
commit 2bdbb0b5b0dd37841aa6be8ab72550237c2f8290
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Feb 16 08:33:07 2021 +0100
- override target for x32, now it fails to build with compile errors
alacritty.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/alacritty.spec b/alacritty.spec
index aaa44ef..9cd5876 100644
--- a/alacritty.spec
+++ b/alacritty.spec
@@ -88,7 +88,12 @@ EOF
%build
export CARGO_HOME="$(pwd)/.cargo"
-cargo -v build --release --frozen
+cargo -v build \
+%ifarch x32
+ --target x86_64-unknown-linux-gnux32 \
+%endif
+ --release \
+ --frozen
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/alacritty.git/commitdiff/2bdbb0b5b0dd37841aa6be8ab72550237c2f8290
More information about the pld-cvs-commit
mailing list