commit:     a491173ff44e4981d6cdaf9f0856cb23a45393ec
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 16 10:31:42 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 16 10:31:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a491173f

dev-lang/ocaml: filter -flto* too

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/ocaml/ocaml-4.05.0-r7.ebuild | 2 +-
 dev-lang/ocaml/ocaml-4.05.0-r8.ebuild | 2 +-
 dev-lang/ocaml/ocaml-4.09.0-r2.ebuild | 4 ++--
 dev-lang/ocaml/ocaml-4.10.2-r2.ebuild | 2 +-
 dev-lang/ocaml/ocaml-4.11.2-r2.ebuild | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-lang/ocaml/ocaml-4.05.0-r7.ebuild 
b/dev-lang/ocaml/ocaml-4.05.0-r7.ebuild
index 9ef969d018b..68a369bcebf 100644
--- a/dev-lang/ocaml/ocaml-4.05.0-r7.ebuild
+++ b/dev-lang/ocaml/ocaml-4.05.0-r7.ebuild
@@ -68,7 +68,7 @@ src_configure() {
 
        # Broken until 4.12
        # bug #818445
-       filter-flags -flto
+       filter-flags '-flto*'
        append-flags -fno-strict-aliasing
 
        # -ggdb3 & co makes it behave weirdly, breaks sexplib

diff --git a/dev-lang/ocaml/ocaml-4.05.0-r8.ebuild 
b/dev-lang/ocaml/ocaml-4.05.0-r8.ebuild
index 707f584fb23..4c2da17dac5 100644
--- a/dev-lang/ocaml/ocaml-4.05.0-r8.ebuild
+++ b/dev-lang/ocaml/ocaml-4.05.0-r8.ebuild
@@ -69,7 +69,7 @@ src_configure() {
 
        # Broken until 4.12
        # bug #818445
-       filter-flags -flto
+       filter-flags '-flto*'
        append-flags -fno-strict-aliasing
 
        # -ggdb3 & co makes it behave weirdly, breaks sexplib

diff --git a/dev-lang/ocaml/ocaml-4.09.0-r2.ebuild 
b/dev-lang/ocaml/ocaml-4.09.0-r2.ebuild
index b9f00b2cfe0..68b58ca86b1 100644
--- a/dev-lang/ocaml/ocaml-4.09.0-r2.ebuild
+++ b/dev-lang/ocaml/ocaml-4.09.0-r2.ebuild
@@ -21,7 +21,7 @@ BDEPEND="${RDEPEND}
 PDEPEND="emacs? ( app-emacs/ocaml-mode )
        xemacs? ( app-xemacs/ocaml )"
 
-PATCHES=("${FILESDIR}"/${PN}-4.09.0-gcc-10.patch)
+PATCHES=( "${FILESDIR}"/${PN}-4.09.0-gcc-10.patch )
 
 src_prepare() {
        default
@@ -30,7 +30,7 @@ src_prepare() {
 
        # Broken until 4.12
        # bug #818445
-       filter-flags -flto
+       filter-flags '-flto*'
        append-flags -fno-strict-aliasing
 
        # OCaml generates textrels on 32-bit arches

diff --git a/dev-lang/ocaml/ocaml-4.10.2-r2.ebuild 
b/dev-lang/ocaml/ocaml-4.10.2-r2.ebuild
index 69ae1931963..3b6334a9c87 100644
--- a/dev-lang/ocaml/ocaml-4.10.2-r2.ebuild
+++ b/dev-lang/ocaml/ocaml-4.10.2-r2.ebuild
@@ -28,7 +28,7 @@ src_prepare() {
 
        # Broken until 4.12
        # bug #818445
-       filter-flags -flto
+       filter-flags '-flto*'
        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 001fbf26fdf..e965a0afa51 100644
--- a/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild
+++ b/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild
@@ -28,7 +28,7 @@ src_prepare() {
 
        # Broken until 4.12
        # bug #818445
-       filter-flags -flto
+       filter-flags '-flto*'
        append-flags -fno-strict-aliasing
 
        # OCaml generates textrels on 32-bit arches

Reply via email to