commit: 93ded4dce728e2aab3f58209fd4f0dcb1dfd34ab
Author: Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sat Jun 24 02:47:02 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 24 02:58:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93ded4dc
dev-lang/ocaml: replace `filter-flags -flto*` with `filter-lto`
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>
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 dd5765530bc6..4094da061f17 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 d2775d25bc47..e77d3241e08f 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 a74d2787fd7c..2f80ff02a1ee 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 38489cf772f3..489cf0a32fef 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