diff options
Diffstat (limited to 'community/ocaml/fix-segfault-in-ppc64le.patch')
-rw-r--r-- | community/ocaml/fix-segfault-in-ppc64le.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/community/ocaml/fix-segfault-in-ppc64le.patch b/community/ocaml/fix-segfault-in-ppc64le.patch index 81c837079c..85587e74c2 100644 --- a/community/ocaml/fix-segfault-in-ppc64le.patch +++ b/community/ocaml/fix-segfault-in-ppc64le.patch @@ -19,13 +19,14 @@ Upstream-Issue: https://caml.inria.fr/mantis/view.php?id=7562. --- a/configure +++ b/configure -@@ -867,6 +867,9 @@ - sharedcccompopts="-fPIC" - mksharedlib="$cc -shared" - ldflags="$ldflags -Wl,-E" +@@ -13334,6 +13334,9 @@ + sharedlib_cflags="-fPIC" + mksharedlib="$CC -shared" + oc_ldflags="$oc_ldflags -Wl,-E" + case "$target" in + powerpc64le*) ldflags="$ldflags -no-pie" + esac rpath="-Wl,-rpath," mksharedlibrpath="-Wl,-rpath," natdynlinkopts="-Wl,-E" + |