Commit ab58efac authored by Stephane Glondu's avatar Stephane Glondu Committed by Stephane Glondu

Apply patch supplied by upstream to fix FTBFS on armhf

parent 299f697f
From: Jeremie Dimino <jeremie@dimino.org>
Date: Thu, 8 Aug 2019 23:31:27 +0100
Subject: remove nodynlink optimisation
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
Bug: https://github.com/ocaml/dune/issues/2527
---
src/exe_rules.ml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/exe_rules.ml b/src/exe_rules.ml
index 834afab..eda12ee 100644
--- a/src/exe_rules.ml
+++ b/src/exe_rules.ml
@@ -104,11 +104,11 @@ let executables_rules ~sctx ~dir ~dir_kind ~expander
else
Some js_of_ocaml
in
- let dynlink =
+ let dynlink = true (*
Dune_file.Executables.Link_mode.Set.exists exes.modes ~f:(fun mode ->
match mode.kind with
| Shared_object -> true
- | _ -> false)
+ | _ -> false)*)
in
Compilation_context.create ()
~super_context:sctx
0001-remove-nodynlink-optimisation.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment