commit: d03056a3640378018f432bf8c55e19ff2b0f78e9 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Sun Jul 7 20:31:06 2024 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Sun Jul 7 20:35:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d03056a3
media-video/mkclean: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/861134 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> media-video/mkclean/mkclean-0.8.10.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/media-video/mkclean/mkclean-0.8.10.ebuild b/media-video/mkclean/mkclean-0.8.10.ebuild index ffa8489edb8c..bfd440c3c065 100644 --- a/media-video/mkclean/mkclean-0.8.10.ebuild +++ b/media-video/mkclean/mkclean-0.8.10.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="mkclean is a command line tool to clean and optimize Matroska files" HOMEPAGE="https://www.matroska.org/downloads/mkclean.html" @@ -14,6 +14,14 @@ SLOT="0" KEYWORDS="~amd64 ~x86" src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/861134 + # https://github.com/Matroska-Org/foundation-source/issues/145 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + tc-export CC CXX emake -C corec/tools/coremake