From f653aa29bfab9884b42a7c11409995c2f8a8d134 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 17 Feb 2021 20:29:16 +0100 Subject: extra/js78: trying to build (without SIMD) with rust 1.48 --- extra/js78/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'extra/js78/PKGBUILD') diff --git a/extra/js78/PKGBUILD b/extra/js78/PKGBUILD index d2b1542e..bc75d890 100644 --- a/extra/js78/PKGBUILD +++ b/extra/js78/PKGBUILD @@ -8,3 +8,18 @@ eval "$( # see FS32#138, ignoring failing test for now unset check + +# no simd optimization on non-pentium4 +if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then + eval "$( + declare -f build | \ + sed ' + s/--enable-rust-simd/--disable-rust-simd/g + ' + )" +fi + +# hard pinning rust version (as it fails with rust 1.50) +makedepends=(${makedepends[@]//rust/}) +makedepends_i686+=(rust148) +makedepends_pentium4+=(rust148) -- cgit v1.2.3-70-g09d2