Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/tinyemu/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-01-16 14:56:51 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-01-16 14:56:51 +0100
commit1ce5dc1daf3d041cc1e9da1179820396747b2749 (patch)
tree256c8e3fae18b30779f1da0caac14b30d71fe9da /community/tinyemu/PKGBUILD
parent3da0bef0248a1aca9b8225602fea985132f463f3 (diff)
community/tinyemu: disabled 128-bit RISCV for 32-bit builds
Diffstat (limited to 'community/tinyemu/PKGBUILD')
-rw-r--r--community/tinyemu/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/tinyemu/PKGBUILD b/community/tinyemu/PKGBUILD
new file mode 100644
index 00000000..b7af84e1
--- /dev/null
+++ b/community/tinyemu/PKGBUILD
@@ -0,0 +1,11 @@
+# disable 128 bit RISCV on 32-bit targets, not supported
+eval "$(
+ {
+ declare -f prepare || \
+ printf 'prepare() {\n}\n'
+ } \
+ | sed '
+ $i sed -i s/^CONFIG_INT128=.*/#CONFIG_INT128=n/ "$m"
+ '
+)"
+