From 341afe3203d838514de4fe6a2ee217e7b8378a87 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 20 Oct 2020 11:29:00 -0400 Subject: [PATCH] net-analyzer/netdata: add lto USE flag Closes: https://bugs.gentoo.org/750428 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Craig Andrews --- net-analyzer/netdata/metadata.xml | 1 + net-analyzer/netdata/netdata-1.26.0.ebuild | 3 ++- net-analyzer/netdata/netdata-9999.ebuild | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net-analyzer/netdata/metadata.xml b/net-analyzer/netdata/metadata.xml index 8c3dae0f9448a..7eb8226087275 100644 --- a/net-analyzer/netdata/metadata.xml +++ b/net-analyzer/netdata/metadata.xml @@ -11,6 +11,7 @@ Install sys-apps/ipmitool required for monitoring IPMI sensors. Enable optimization of JSON using dev-libs/json-c Enable support for Amazon Kenesis as a backend + Build with Link Time Optimization (LTO) Enable support for the mongodb backend Enable the nfacct plugin Enable use of nodejs (which some plugins use) diff --git a/net-analyzer/netdata/netdata-1.26.0.ebuild b/net-analyzer/netdata/netdata-1.26.0.ebuild index 48231022d0566..f935e5a09fa22 100644 --- a/net-analyzer/netdata/netdata-1.26.0.ebuild +++ b/net-analyzer/netdata/netdata-1.26.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" LICENSE="GPL-3+ MIT BSD" SLOT="0" -IUSE="caps +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis mongodb mysql nfacct nodejs postgres prometheus +python tor xen" +IUSE="caps +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" REQUIRED_USE=" mysql? ( python ) python? ( ${PYTHON_REQUIRED_USE} ) @@ -106,6 +106,7 @@ src_configure() { $(use_enable nfacct plugin-nfacct) \ $(use_enable ipmi plugin-freeipmi) \ $(use_enable kinesis backend-kinesis) \ + $(use_enable lto lto) \ $(use_enable mongodb backend-mongodb) \ $(use_enable prometheus backend-prometheus-remote-write) \ $(use_enable xen plugin-xenstat) \ diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild index 48231022d0566..f935e5a09fa22 100644 --- a/net-analyzer/netdata/netdata-9999.ebuild +++ b/net-analyzer/netdata/netdata-9999.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/" LICENSE="GPL-3+ MIT BSD" SLOT="0" -IUSE="caps +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis mongodb mysql nfacct nodejs postgres prometheus +python tor xen" +IUSE="caps +compression cpu_flags_x86_sse2 cups +dbengine ipmi +jsonc kinesis +lto mongodb mysql nfacct nodejs postgres prometheus +python tor xen" REQUIRED_USE=" mysql? ( python ) python? ( ${PYTHON_REQUIRED_USE} ) @@ -106,6 +106,7 @@ src_configure() { $(use_enable nfacct plugin-nfacct) \ $(use_enable ipmi plugin-freeipmi) \ $(use_enable kinesis backend-kinesis) \ + $(use_enable lto lto) \ $(use_enable mongodb backend-mongodb) \ $(use_enable prometheus backend-prometheus-remote-write) \ $(use_enable xen plugin-xenstat) \