dev-qt/qtbase: skip building tst_qfloat16 with clang for 6.7+

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-03-12 07:59:30 -04:00
parent 18bc932e70
commit b834fb2ab0
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -147,6 +147,13 @@ src_prepare() {
# test itself has -Werror=strict-aliasing issues, drop for simplicity
sed -e '/add_subdirectory(qsharedpointer)/d' \
-i tests/auto/corelib/tools/CMakeLists.txt || die
# workaround for __extendhfxf2 being used for tst_qfloat16.cpp
# which is unavailable with compiler-rt (assume used if clang)
if tc-is-clang; then
sed -e '/add_subdirectory(qfloat16)/d' \
-i tests/auto/corelib/global/CMakeLists.txt || die
fi
fi
}
+7
View File
@@ -147,6 +147,13 @@ src_prepare() {
# test itself has -Werror=strict-aliasing issues, drop for simplicity
sed -e '/add_subdirectory(qsharedpointer)/d' \
-i tests/auto/corelib/tools/CMakeLists.txt || die
# workaround for __extendhfxf2 being used for tst_qfloat16.cpp
# which is unavailable with compiler-rt (assume used if clang)
if tc-is-clang; then
sed -e '/add_subdirectory(qfloat16)/d' \
-i tests/auto/corelib/global/CMakeLists.txt || die
fi
fi
}