diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-10 16:24:05 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-11 14:22:41 +0000 |
commit | 90f558a4036d571d4b1a10d2fe5e8b54900d2e54 (patch) | |
tree | 8926b5db783105e948a99ce7b8f36194ef75cf97 /x11-misc/xfractint | |
parent | x11-drivers/xf86-video-openchrome: mark LTO-unsafe, strict-aliasing unsafe (diff) | |
download | gentoo-90f558a4036d571d4b1a10d2fe5e8b54900d2e54.tar.gz gentoo-90f558a4036d571d4b1a10d2fe5e8b54900d2e54.tar.bz2 gentoo-90f558a4036d571d4b1a10d2fe5e8b54900d2e54.zip |
x11-misc/xfractint: mark as LTO-unsafe, strict-aliasing unsafe
Reported at https://mailman.xmission.com/postorius/lists/fractdev.mailman.xmission.com/
Mailing list does not yet show my email, fingers crossed it doesn't
require subscribing and is just slow...
Closes: https://bugs.gentoo.org/864759
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/xfractint')
-rw-r--r-- | x11-misc/xfractint/xfractint-20.04_p16.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/x11-misc/xfractint/xfractint-20.04_p16.ebuild b/x11-misc/xfractint/xfractint-20.04_p16.ebuild index 0e7b98b42567..af6790581497 100644 --- a/x11-misc/xfractint/xfractint-20.04_p16.ebuild +++ b/x11-misc/xfractint/xfractint-20.04_p16.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_P=${P/_} @@ -28,6 +28,14 @@ PATCHES=( ) src_compile() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/864759 + # Reported to developer list at + # https://mailman.xmission.com/postorius/lists/fractdev.mailman.xmission.com/ + # + # Do not trust for LTO either + append-flags -fno-strict-aliasing + filter-lto emake CC="$(tc-getCC)" AS="$(tc-getAS)" OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}" } |