summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
+ '
+)"
+