Created attachment 667541 [details, diff] net-analyzer/netdata-1.26.0.patch I have problems compiling this package with LTO enabled. However, I can't disable LTO as the package is mangling CFLAGS as part of it's configure (and autodetecting that there is some LTO capable gcc around, hence enabling by default). The attached patch introduces a USE flag to control LTO usage in the netdata configure stage and hence passes --enable-lto/--disable-lto to the configure phase. Grateful if you could add this as part of the standard ebuild. Ta
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341afe3203d838514de4fe6a2ee217e7b8378a87 commit 341afe3203d838514de4fe6a2ee217e7b8378a87 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2020-10-20 15:29:00 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2020-10-20 15:29:26 +0000 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 <candrews@gentoo.org> 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(-)