This breaks at least ocamlopt.

Closes: https://bugs.gentoo.org/803047
Closes: https://bugs.gentoo.org/811315
Signed-off-by: Sam James <s...@gentoo.org>
---
 eclass/dune.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/dune.eclass b/eclass/dune.eclass
index 02a8a870ef43e..8a6e01893932a 100644
--- a/eclass/dune.eclass
+++ b/eclass/dune.eclass
@@ -28,6 +28,9 @@ esac
 # Do not complain about CFLAGS etc since ml projects do not use them.
 QA_FLAGS_IGNORED='.*'
 
+# Breaks with ocamlopt
+RESTRICT="strip"
+
 EXPORT_FUNCTIONS src_compile src_test src_install
 
 RDEPEND=">=dev-lang/ocaml-4:=[ocamlopt?] dev-ml/dune:="
-- 
2.33.0


Reply via email to