summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-04 23:41:20 -0500
committerSam James <sam@gentoo.org>2024-03-05 04:47:53 +0000
commit78cb0269257b225aa34bcaf79962527843a5c704 (patch)
tree9074bd4882ae2a09d43079d539ffb78e299b80e2
parentnet-libs/rtrlib: mark as LTO-unsafe, strict-aliasing unsafe (diff)
downloadgentoo-78cb0269.tar.gz
gentoo-78cb0269.tar.bz2
gentoo-78cb0269.zip
media-gfx/povray: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/859784 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-gfx/povray/povray-3.7.0.0-r4.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/media-gfx/povray/povray-3.7.0.0-r4.ebuild b/media-gfx/povray/povray-3.7.0.0-r4.ebuild
index 14d2bd4402a7..8fbfdb6ab113 100644
--- a/media-gfx/povray/povray-3.7.0.0-r4.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r4.ebuild
@@ -90,6 +90,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/859784
+ # https://github.com/POV-Ray/povray/issues/458
+ # Upstream activity is dead for 3 years now, so don't hold
+ # your breath for a fix.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
# Fixes bug 71255
if [[ $(get-flag march) == k6-2 ]]; then
filter-flags -fomit-frame-pointer