diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-13 02:16:54 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-13 21:04:05 +0000 |
commit | 9da7e1e40003ff669572d9dd47f11aedd8852f2e (patch) | |
tree | a72cff484fe3bba8c420268878fbaa6ae59dcb5a | |
parent | dev-libs/libcdio: mark as LTO-unsafe (diff) | |
download | gentoo-9da7e1e40003ff669572d9dd47f11aedd8852f2e.tar.gz gentoo-9da7e1e40003ff669572d9dd47f11aedd8852f2e.tar.bz2 gentoo-9da7e1e40003ff669572d9dd47f11aedd8852f2e.zip |
dev-libs/nspr: mark as LTO-unsafe, strict-aliasing unsafe
It is a testsuite-only issue. We think, because it prevents, well,
testing.
Closes: https://bugs.gentoo.org/867634
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | dev-libs/nspr/nspr-4.35-r2.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-libs/nspr/nspr-4.35-r2.ebuild b/dev-libs/nspr/nspr-4.35-r2.ebuild index ec3cb17b0172..01df06b9ec19 100644 --- a/dev-libs/nspr/nspr-4.35-r2.ebuild +++ b/dev-libs/nspr/nspr-4.35-r2.ebuild @@ -62,6 +62,14 @@ src_prepare() { } multilib_src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/867634 + # + # Testsuite-only issue. Still, this makes it challenging to test the package with LTO + # enabled... + append-flags -fno-strict-aliasing + filter-lto + # The build system overrides user optimization level based on a configure flag. #886987 local my_optlvl=$(get-flag '-O*') |