mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-libs/hdf: mark as LTO-unsafe, strict-aliasing unsafe
I cannot tell whether it's still a problem upstream. Too many catastrophes going on in this codebase right now. Not going to report it when I have no clue. Maybe if it could be updated for a better baseline... Closes: https://bugs.gentoo.org/862720 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -50,6 +50,14 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=strict-aliasing, -Werror=lto-type-mismatch
|
||||
# https://bugs.gentoo.org/862720
|
||||
#
|
||||
# Do not trust with LTO either, just because of strict-aliasing.
|
||||
# But also because it does have blatant LTO errors too.
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
[[ $(tc-getFC) = *gfortran ]] && append-fflags -fno-range-check
|
||||
# GCC 10 workaround
|
||||
# bug #723014
|
||||
|
||||
Reference in New Issue
Block a user