commit: 247bd57530051e238456c86dc082411a65743d9b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Apr 19 10:44:01 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Apr 19 10:45:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247bd575
media-libs/libfpx: restore LTO workarounds The PR hadn't been rebased so it lost the changes from 1ebd8326257a79006c4517d93f3a07eadd000834. Bug: https://bugs.gentoo.org/847412 Bug: https://bugs.gentoo.org/859913 Fixes: a357ebd8c860107ac82c3600114b899b9df27f4b Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild b/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild index 362dbe6c91c3..677794e0f1f0 100644 --- a/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild +++ b/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild @@ -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) \
