diff options
Diffstat (limited to 'media-libs/libfpx')
-rw-r--r-- | media-libs/libfpx/libfpx-1.3.1_p10.ebuild | 10 |
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) \ |