diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-12-06 14:01:30 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-12-06 14:01:30 +0000 |
commit | b3b61b99fce4826f733261d35f9812b75aef4aed (patch) | |
tree | 0429b6c8bb83aff18449bdff049611f086746555 /net-mgmt | |
parent | d346da75793a860f1bd80e7c4920606c5e082845 (diff) | |
download | ports-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/Makefile | 1 |
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 |