From c33c578e0eaeda556d7b5467fce0e97726c0d8f5 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 19 Mar 2024 23:58:33 -0400 Subject: sci-biology/muscle: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/862276 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- sci-biology/muscle/muscle-3.8.31.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'sci-biology') diff --git a/sci-biology/muscle/muscle-3.8.31.ebuild b/sci-biology/muscle/muscle-3.8.31.ebuild index e47f5f66cf46..faefc5b1a280 100644 --- a/sci-biology/muscle/muscle-3.8.31.ebuild +++ b/sci-biology/muscle/muscle-3.8.31.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 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 MY_P="${PN}${PV}_src" @@ -22,6 +22,14 @@ S="${WORKDIR}"/${PN}${PV}/src PATCHES=( "${FILESDIR}"/${PV}-make.patch ) src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/862276 + # Fixed upstream in later releases + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + tc-export CXX } -- cgit v1.2.3-65-gdbad