Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-01-27 20:52:28 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-01-27 20:52:28 +0100
commit36eaf0b990126841b1ec7b92302aab986a721c19 (patch)
tree18a5d643217d50d2c439c9888fd98d7a598dc323
parentcd7118ddd1a35ec1a5107bfdd3a53c347a986389 (diff)
extra/js78: trying to build with rust148, also fixed architecture target in CXX/CC
-rw-r--r--extra/js78/PKGBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/extra/js78/PKGBUILD b/extra/js78/PKGBUILD
index bd30a562..7871df9f 100644
--- a/extra/js78/PKGBUILD
+++ b/extra/js78/PKGBUILD
@@ -1,2 +1,10 @@
-# rust is too old, needs llvm10 for now
-makedepends=("${makedepends[@]/llvm/llvm10}")
+# target adaption (no clue how this ever worked before!?)
+eval "$(
+ declare -f build | \
+ sed '
+ s/x86_64-unknown-linux-gnu/i686-unknown-linux-gnu/g
+ '
+)"
+
+# rust 1.49 has refused to rebuild for now, using rust148 for now
+makedepends=("${makedepends[@]/rust/rust148}")