Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/ocaml/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/ocaml/PKGBUILD b/extra/ocaml/PKGBUILD
new file mode 100644
index 00000000..59bebeb6
--- /dev/null
+++ b/extra/ocaml/PKGBUILD
@@ -0,0 +1,9 @@
+# configure says frame pointers are not supported on this platform,
+# disable them (and also some LTO stuff)
+eval "$(
+ declare -f build | \
+ sed '
+ /configure/s/--enable-frame-pointers//
+ /fat-lto-objects/d
+ '
+)"