commit:     8479cf13101c1bcc4bf088768449a617f0146c8a
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 29 04:26:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 04:47:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8479cf13

sci-biology/bwa: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/862255
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-biology/bwa/bwa-0.7.17.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/sci-biology/bwa/bwa-0.7.17.ebuild 
b/sci-biology/bwa/bwa-0.7.17.ebuild
index 3da06fd74f92..e1b6dbb6184e 100644
--- a/sci-biology/bwa/bwa-0.7.17.ebuild
+++ b/sci-biology/bwa/bwa-0.7.17.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Burrows-Wheeler Alignment Tool, a fast short genomic sequence 
aligner"
 HOMEPAGE="https://github.com/lh3/bwa/";
@@ -25,6 +25,11 @@ PATCHES=(
 DOCS=( NEWS.md README-alt.md README.md )
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/862255
+       # https://github.com/lh3/bwa/issues/411
+       filter-lto
+
        tc-export CC AR
 }
 

Reply via email to