diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-26 18:12:19 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-26 18:14:35 -0800 |
commit | 28bdc8cd5088537eb0f8b7c9f8e5b18dfc6e91ba (patch) | |
tree | 0b3cdf83468119385b31ec31f5846b831d3c7bd4 /net-analyzer/netdata | |
parent | dev-util/spirv-llvm-translator: minor style changes (diff) | |
download | gentoo-28bdc8cd5088537eb0f8b7c9f8e5b18dfc6e91ba.tar.gz gentoo-28bdc8cd5088537eb0f8b7c9f8e5b18dfc6e91ba.tar.bz2 gentoo-28bdc8cd5088537eb0f8b7c9f8e5b18dfc6e91ba.zip |
net-analyzer/netdata: fix build on ppc64be, pass -mno-vsx
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-analyzer/netdata')
-rw-r--r-- | net-analyzer/netdata/netdata-1.32.1.ebuild | 8 |
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 \ |