From 93ded4dce728e2aab3f58209fd4f0dcb1dfd34ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Fri, 23 Jun 2023 20:47:02 -0600 Subject: [PATCH] dev-lang/ocaml: replace `filter-flags -flto*` with `filter-lto` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Leonardo Hernández Hernández Signed-off-by: Sam James --- dev-lang/ocaml/ocaml-4.05.0-r9.ebuild | 2 +- dev-lang/ocaml/ocaml-4.09.0-r3.ebuild | 4 ++-- dev-lang/ocaml/ocaml-4.10.2-r3.ebuild | 4 ++-- dev-lang/ocaml/ocaml-4.11.2-r2.ebuild | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-lang/ocaml/ocaml-4.05.0-r9.ebuild b/dev-lang/ocaml/ocaml-4.05.0-r9.ebuild index dd5765530bc68..4094da061f174 100644 --- a/dev-lang/ocaml/ocaml-4.05.0-r9.ebuild +++ b/dev-lang/ocaml/ocaml-4.05.0-r9.ebuild @@ -71,7 +71,7 @@ src_configure() { # Broken until 4.12 # bug #818445 - filter-flags '-flto*' + filter-lto append-flags -fno-strict-aliasing # -ggdb3 & co makes it behave weirdly, breaks sexplib diff --git a/dev-lang/ocaml/ocaml-4.09.0-r3.ebuild b/dev-lang/ocaml/ocaml-4.09.0-r3.ebuild index d2775d25bc47c..e77d3241e08f4 100644 --- a/dev-lang/ocaml/ocaml-4.09.0-r3.ebuild +++ b/dev-lang/ocaml/ocaml-4.09.0-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -35,7 +35,7 @@ src_prepare() { # Broken until 4.12 # bug #818445 - filter-flags '-flto*' + filter-lto append-flags -fno-strict-aliasing # OCaml generates textrels on 32-bit arches diff --git a/dev-lang/ocaml/ocaml-4.10.2-r3.ebuild b/dev-lang/ocaml/ocaml-4.10.2-r3.ebuild index a74d2787fd7c0..2f80ff02a1ee8 100644 --- a/dev-lang/ocaml/ocaml-4.10.2-r3.ebuild +++ b/dev-lang/ocaml/ocaml-4.10.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -35,7 +35,7 @@ src_prepare() { # Broken until 4.12 # bug #818445 - filter-flags '-flto*' + filter-lto append-flags -fno-strict-aliasing # OCaml generates textrels on 32-bit arches diff --git a/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild b/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild index 38489cf772f3d..489cf0a32fefa 100644 --- a/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild +++ b/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -35,7 +35,7 @@ src_prepare() { # Broken until 4.12 # bug #818445 - filter-flags '-flto*' + filter-lto append-flags -fno-strict-aliasing # OCaml generates textrels on 32-bit arches