aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-12-06 14:01:30 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-12-06 14:01:30 +0000
commitb3b61b99fce4826f733261d35f9812b75aef4aed (patch)
tree0429b6c8bb83aff18449bdff049611f086746555 /net-mgmt
parentd346da75793a860f1bd80e7c4920606c5e082845 (diff)
downloadports-b3b61b99fce4826f733261d35f9812b75aef4aed.tar.gz
ports-b3b61b99fce4826f733261d35f9812b75aef4aed.zip
net-mgmt/netdata: fix build on GCC architectures
Base GCC doesn't support LTO.
Notes
Notes: svn path=/head/; revision=519143
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/netdata/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile
index f9f5efd9c4e9..909d463a0de3 100644
--- a/net-mgmt/netdata/Makefile
+++ b/net-mgmt/netdata/Makefile
@@ -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