net-mgmt/netdata: fix build on GCC architectures

Base GCC doesn't support LTO.
This commit is contained in:
Piotr Kubaj 2019-12-06 14:01:30 +00:00
parent d346da7579
commit b3b61b99fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519143

View File

@ -72,6 +72,7 @@ JSON_LIB_DEPENDS= libjson-c.so:devel/json-c
LTO_DESC= Use Link-Time Optimization
LTO_CONFIGURE_ENABLE= lto
LTO_USES= compiler:c11
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLTO} && ${OPSYS}_${OSREL:R} == FreeBSD_11