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) \