summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/google-perftools/google-perftools-2.9.1.ebuild')
-rw-r--r--dev-util/google-perftools/google-perftools-2.9.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-util/google-perftools/google-perftools-2.9.1.ebuild b/dev-util/google-perftools/google-perftools-2.9.1.ebuild
index 413257a7ebee..896b51dfd9c8 100644
--- a/dev-util/google-perftools/google-perftools-2.9.1.ebuild
+++ b/dev-util/google-perftools/google-perftools-2.9.1.ebuild
@@ -17,13 +17,18 @@ SLOT="0/4"
# linux amd64/arm/arm64/ppc/ppc64/riscv/x86
# OSX ppc/amd64
# AIX ppc/ppc64
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
IUSE="largepages largepages64k +debug minimal optimisememory test static-libs"
RESTRICT="!test? ( test )"
-DEPEND="!ppc64? ( sys-libs/libunwind )"
+# TODO: remove the riscv special case once either libunwind has begun supporting this arch
+# or this package allows using llvm-libunwind for other arches
+DEPEND="!ppc64? (
+ riscv? ( sys-libs/llvm-libunwind )
+ !riscv? ( sys-libs/libunwind )
+)"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"