diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-02-17 20:29:16 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-02-17 20:29:16 +0100 |
commit | f653aa29bfab9884b42a7c11409995c2f8a8d134 (patch) | |
tree | 7dd8604c15dea4eb060b281b5a04ba04dc0eda1f /extra | |
parent | 513d4e4bdbbca75e46bab9b751e0c64b014195e1 (diff) | |
download | packages-f653aa29bfab9884b42a7c11409995c2f8a8d134.tar.xz |
extra/js78: trying to build (without SIMD) with rust 1.48
Diffstat (limited to 'extra')
-rw-r--r-- | extra/js78/PKGBUILD | 15 |
1 files changed, 15 insertions, 0 deletions
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) |