summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-13 15:26:45 -0400
committerSam James <sam@gentoo.org>2024-03-13 21:04:08 +0000
commit1ebd8326257a79006c4517d93f3a07eadd000834 (patch)
tree2cdf6077ef12fe7fc2a429d90ebb2cf59adb209d /media-libs/libfpx
parentmedia-sound/audiotools: work around broken parallel building (diff)
downloadgentoo-1ebd8326257a79006c4517d93f3a07eadd000834.tar.gz
gentoo-1ebd8326257a79006c4517d93f3a07eadd000834.tar.bz2
gentoo-1ebd8326257a79006c4517d93f3a07eadd000834.zip
media-libs/libfpx: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/859913 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libfpx')
-rw-r--r--media-libs/libfpx/libfpx-1.3.1_p10.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-libs/libfpx/libfpx-1.3.1_p10.ebuild b/media-libs/libfpx/libfpx-1.3.1_p10.ebuild
index d1090723cb3e..782c66231228 100644
--- a/media-libs/libfpx/libfpx-1.3.1_p10.ebuild
+++ b/media-libs/libfpx/libfpx-1.3.1_p10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -30,6 +30,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/859913
+ # https://github.com/ImageMagick/libfpx/issues/6
+ #
+ # Do not trust for LTO either
+ append-flags -fno-strict-aliasing
+ filter-lto
+
append-ldflags -Wl,--no-undefined
econf \
$(use_enable static-libs static) \