summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/netdata/netdata-1.32.1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-analyzer/netdata/netdata-1.32.1.ebuild b/net-analyzer/netdata/netdata-1.32.1.ebuild
index 97b373861b66..00cda3564e28 100644
--- a/net-analyzer/netdata/netdata-1.32.1.ebuild
+++ b/net-analyzer/netdata/netdata-1.32.1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python{3_8,3_9,3_10} )
-inherit autotools fcaps linux-info python-single-r1 systemd
+inherit autotools fcaps flag-o-matic linux-info python-single-r1 systemd toolchain-funcs
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/netdata/${PN}.git"
@@ -92,6 +92,12 @@ src_prepare() {
}
src_configure() {
+ if use ppc64; then
+ # bundled dlib does not support vsx on big-endian
+ # https://github.com/davisking/dlib/issues/397
+ [[ $(tc-endian) == big ]] && append-flags -mno-vsx
+ fi
+
econf \
--localstatedir="${EPREFIX}"/var \
--with-user=netdata \