summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-06-23 20:47:02 -0600
committerSam James <sam@gentoo.org>2023-06-24 03:58:36 +0100
commit93ded4dce728e2aab3f58209fd4f0dcb1dfd34ab (patch)
tree18983adc9f5569b717a67899985b9d36d65d5f12 /dev-lang/ocaml
parentdev-java/openjdk: replace `filter-flags -flto*` with `filter-lto` (diff)
downloadgentoo-93ded4dce728e2aab3f58209fd4f0dcb1dfd34ab.tar.gz
gentoo-93ded4dce728e2aab3f58209fd4f0dcb1dfd34ab.tar.bz2
gentoo-93ded4dce728e2aab3f58209fd4f0dcb1dfd34ab.zip
dev-lang/ocaml: replace `filter-flags -flto*` with `filter-lto`
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/ocaml')
-rw-r--r--dev-lang/ocaml/ocaml-4.05.0-r9.ebuild2
-rw-r--r--dev-lang/ocaml/ocaml-4.09.0-r3.ebuild4
-rw-r--r--dev-lang/ocaml/ocaml-4.10.2-r3.ebuild4
-rw-r--r--dev-lang/ocaml/ocaml-4.11.2-r2.ebuild4
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