summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r4.ebuild')
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r4.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r4.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r4.ebuild
index 0b14ce25555a..edc9416eea6c 100644
--- a/dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r4.ebuild
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r4.ebuild
@@ -37,6 +37,8 @@ PATCHES=(
src_prepare() {
cmake_src_prepare
+ use ppc && eapply "${FILESDIR}/${PN}-atomic-patch"
+
# un-hardcode abseil compiler flags
sed -i \
-e '/"-maes",/d' \
@@ -72,6 +74,12 @@ multilib_src_test() {
CMAKE_SKIP_TESTS=(
absl_symbolize_test
)
+
+ if use ppc; then
+ CMAKE_SKIP_TESTS+=(
+ absl_failure_signal_handler_test
+ )
+ fi
fi
cmake_src_test