diff options
Diffstat (limited to 'dev-util/hip/hip-5.7.1-r2.ebuild')
-rw-r--r-- | dev-util/hip/hip-5.7.1-r2.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-util/hip/hip-5.7.1-r2.ebuild b/dev-util/hip/hip-5.7.1-r2.ebuild index 35d67cf0be55..c6c7376c0297 100644 --- a/dev-util/hip/hip-5.7.1-r2.ebuild +++ b/dev-util/hip/hip-5.7.1-r2.ebuild @@ -81,6 +81,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/858383 + # https://github.com/ROCm/clr/issues/64 + # + # Do not trust it for LTO either + append-flags -fno-strict-aliasing + filter-lto + # Workaround for bug #923986 append-ldflags $(test-flags-CCLD -Wl,--undefined-version) |