From 1e719edec4758bac02bdd54e60e3b9fc4a29f673 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 21 Apr 2022 11:46:59 +0200 Subject: community/exa: trying another build with rust159-bin, fix for pentium4 in CARCH --- community/exa/PKGBUILD | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'community/exa') diff --git a/community/exa/PKGBUILD b/community/exa/PKGBUILD index 81065c10..dc7c4354 100644 --- a/community/exa/PKGBUILD +++ b/community/exa/PKGBUILD @@ -1,5 +1,7 @@ -# rust currenly broken, is based on LLVM 11 -makedepends+=(llvm11) +# rust currenly broken, use rust159-bin for now till we can rebuild rust +# with rist159-bin +makedepends[@]/cargo/}) +makedepends+=(rust159-bin) # pandoc is mainly broken currently (FS32#180) makedepends=(${makedepends[@]//pandoc/}) @@ -16,3 +18,13 @@ eval "$( /exa_colors.5/d ' )" + +# CARCH pentium4 makes compilation fail +if [ "$CARCH" = 'pentium4' ]; then + eval "$( + declare -f prepare | \ + sed ' + s/--target "$CARCH-unknown-linux-gnu"/--target "i686-unknown-linux-gnu"/ + ' + )" +fi -- cgit v1.2.3-54-g00ecf