From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C301D158086 for ; Mon, 11 Oct 2021 05:08:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B708CE0880; Mon, 11 Oct 2021 05:08:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0AB00E0827 for ; Mon, 11 Oct 2021 05:08:19 +0000 (UTC) From: Sam James To: gentoo-dev@lists.gentoo.org Cc: ml@gentoo.org, Sam James Subject: [gentoo-dev] [PATCH 1/3] dune.eclass: restrict strip Date: Mon, 11 Oct 2021 06:07:57 +0100 Message-Id: <20211011050759.2896218-1-sam@gentoo.org> X-Mailer: git-send-email 2.33.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 309ef73b-e48c-4ba4-9076-33101cdd2750 X-Archives-Hash: bf54fdee07de0c14edc88e51f39f0d7b This breaks at least ocamlopt. Closes: https://bugs.gentoo.org/803047 Closes: https://bugs.gentoo.org/811315 Signed-off-by: Sam James --- 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