commit 2bdbb0b5b0dd37841aa6be8ab72550237c2f8290
Author: Jan RÄ™korajski <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to