summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-07-07 16:31:06 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-07-07 16:35:57 -0400
commitd03056a3640378018f432bf8c55e19ff2b0f78e9 (patch)
tree21e7c9f285fc2817bc61306e222fb19a07a35889 /media-video/mkclean
parentapp-emulation/qtrvsim: ensure Qt6 build (diff)
downloadgentoo-d03056a3640378018f432bf8c55e19ff2b0f78e9.tar.gz
gentoo-d03056a3640378018f432bf8c55e19ff2b0f78e9.tar.bz2
gentoo-d03056a3640378018f432bf8c55e19ff2b0f78e9.zip
media-video/mkclean: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/861134 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'media-video/mkclean')
-rw-r--r--media-video/mkclean/mkclean-0.8.10.ebuild12
1 files 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