diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-08 04:21:50 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-08 11:09:02 +0000 |
commit | 04619473f29d5c222d80d607574c222943ef96e5 (patch) | |
tree | fa32aadab9e9e5bbce9fc23536fb22ffe691fff1 /x11-libs/fox/fox-1.7.67-r2.ebuild | |
parent | sci-libs/cgnslib: add 4.4.0 (diff) | |
download | gentoo-04619473f29d5c222d80d607574c222943ef96e5.tar.gz gentoo-04619473f29d5c222d80d607574c222943ef96e5.tar.bz2 gentoo-04619473f29d5c222d80d607574c222943ef96e5.zip |
x11-libs/fox: mark as LTO-unsafe, strict-aliasing unsafe
Fixed in newer (packaged) version, so only mark the older version, which
as it happens is the one with a stable keyword.
Closes: https://bugs.gentoo.org/864412
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-libs/fox/fox-1.7.67-r2.ebuild')
-rw-r--r-- | x11-libs/fox/fox-1.7.67-r2.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-libs/fox/fox-1.7.67-r2.ebuild b/x11-libs/fox/fox-1.7.67-r2.ebuild index e0e6f90f7c06..6f22d0fa1c2f 100644 --- a/x11-libs/fox/fox-1.7.67-r2.ebuild +++ b/x11-libs/fox/fox-1.7.67-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="C++ Toolkit for developing Graphical User Interfaces easily and effectively" HOMEPAGE="http://www.fox-toolkit.org/" @@ -65,6 +65,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/864412 + # Fixed in 1.7.84 + # + # Do not trust it for LTO either. + append-flags -fno-strict-aliasing + filter-lto + econf \ --disable-static \ --enable-$(usex debug debug release) \ |