diff options
author | Sam James <sam@gentoo.org> | 2024-04-19 11:44:01 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-04-19 11:45:31 +0100 |
commit | 247bd57530051e238456c86dc082411a65743d9b (patch) | |
tree | 36bd983565d9b64ccb56e2258a616bd1497bd7e2 /media-libs/libfpx | |
parent | media-tv/plex-media-server: add 1.40.2.8395 (diff) | |
download | gentoo-247bd57530051e238456c86dc082411a65743d9b.tar.gz gentoo-247bd57530051e238456c86dc082411a65743d9b.tar.bz2 gentoo-247bd57530051e238456c86dc082411a65743d9b.zip |
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@gentoo.org>
Diffstat (limited to 'media-libs/libfpx')
-rw-r--r-- | media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
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) \ |