summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-07 01:50:52 -0500
committerSam James <sam@gentoo.org>2024-03-07 11:46:25 +0000
commitd43c4ffe6a35183dd1794de3a74ab32befef0521 (patch)
tree02c896b6f70f0aa84b14ca4515cf09fb67978875 /sci-libs
parentsci-physics/siscone: fix some critical existence failures in autoconf (diff)
downloadgentoo-d43c4ffe6a35183dd1794de3a74ab32befef0521.tar.gz
gentoo-d43c4ffe6a35183dd1794de3a74ab32befef0521.tar.bz2
gentoo-d43c4ffe6a35183dd1794de3a74ab32befef0521.zip
sci-libs/libdap: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/878895 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libdap/libdap-3.20.9.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/sci-libs/libdap/libdap-3.20.9.ebuild b/sci-libs/libdap/libdap-3.20.9.ebuild
index 9530e363e851..1692827e92de 100644
--- a/sci-libs/libdap/libdap-3.20.9.ebuild
+++ b/sci-libs/libdap/libdap-3.20.9.ebuild
@@ -36,6 +36,12 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto, -Werror=strict-aliasing
+ # https://bugs.gentoo.org/878895
+ # https://github.com/OPENDAP/libdap4/issues/244
+ append-flags -fno-strict-aliasing
+ filter-lto
+
# bug 619144
append-cxxflags -std=c++14