sci-libs/miopen: strip unsupported flags for potentially switched compiler

Bug: https://bugs.gentoo.org/936099
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2024-07-20 17:28:48 +00:00
committed by Sam James
parent 5eef57ad9c
commit 536c5edf1c

View File

@@ -58,6 +58,8 @@ src_prepare() {
}
src_configure() {
rocm_use_hipcc
if ! use debug; then
append-cflags "-DNDEBUG"
append-cxxflags "-DNDEBUG"
@@ -91,7 +93,7 @@ src_configure() {
check_amdgpu
fi
CXX=hipcc cmake_src_configure
cmake_src_configure
}
src_test() {