From dde18ab04c546545dfae709f39d7bf029662a541 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 11 Mar 2024 21:21:45 -0400 Subject: dev-libs/rocr-runtime: mark as LTO-unsafe Closes: https://bugs.gentoo.org/856091 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- dev-libs/rocr-runtime/rocr-runtime-5.7.1-r2.ebuild | 5 +++++ dev-libs/rocr-runtime/rocr-runtime-6.0.0-r1.ebuild | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'dev-libs/rocr-runtime') diff --git a/dev-libs/rocr-runtime/rocr-runtime-5.7.1-r2.ebuild b/dev-libs/rocr-runtime/rocr-runtime-5.7.1-r2.ebuild index edaaebfdc50f..b22b60ffa24f 100644 --- a/dev-libs/rocr-runtime/rocr-runtime-5.7.1-r2.ebuild +++ b/dev-libs/rocr-runtime/rocr-runtime-5.7.1-r2.ebuild @@ -48,6 +48,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/856091 + # https://github.com/ROCm/ROCR-Runtime/issues/182 + filter-lto + use debug || append-cxxflags "-DNDEBUG" local mycmakeargs=( -DINCLUDE_PATH_COMPATIBILITY=OFF ) cmake_src_configure diff --git a/dev-libs/rocr-runtime/rocr-runtime-6.0.0-r1.ebuild b/dev-libs/rocr-runtime/rocr-runtime-6.0.0-r1.ebuild index 02da6889b8cd..374dcec97554 100644 --- a/dev-libs/rocr-runtime/rocr-runtime-6.0.0-r1.ebuild +++ b/dev-libs/rocr-runtime/rocr-runtime-6.0.0-r1.ebuild @@ -47,6 +47,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/856091 + # https://github.com/ROCm/ROCR-Runtime/issues/182 + filter-lto + use debug || append-cxxflags "-DNDEBUG" local mycmakeargs=( -DINCLUDE_PATH_COMPATIBILITY=OFF ) cmake_src_configure -- cgit v1.2.3-65-gdbad