Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/llvm/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-21 10:09:55 +0100
committerErich Eckner <git@eckner.net>2019-01-21 10:09:55 +0100
commitb1ef18278ba295fcddd30751d8294e76e638724e (patch)
treec04e42280fe27b7c73195b0cba36b73faae44400 /extra/llvm/PKGBUILD
parent70a7c30b8196a4398cf755b93507516d0f83be56 (diff)
parent665c195f3812e8a410095ac2ffa5a692116870e2 (diff)
Merge branch 'master' into i486
Diffstat (limited to 'extra/llvm/PKGBUILD')
-rw-r--r--extra/llvm/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD
new file mode 100644
index 00000000..4aaafe29
--- /dev/null
+++ b/extra/llvm/PKGBUILD
@@ -0,0 +1,19 @@
+# temporary, ocaml is broken on 32-bit, we work around the llvm issue
+# in binutils LTO plugins for now:
+makedepends=(${makedepends[@]/ocaml=$_ocaml_ver/})
+makedepends=(${makedepends[@]/ocaml-ctypes/})
+makedepends=(${makedepends[@]/ocaml-findlib/})
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/ninja all ocaml_doc/ninja all/
+ '
+)"
+
+eval "$(
+ declare -f package_llvm | \
+ sed '
+ /ocaml/d
+ '
+)"