svn commit: r519143 - head/net-mgmt/netdata

Piotr Kubaj pkubaj at FreeBSD.org
Fri Dec 6 14:01:31 UTC 2019


Author: pkubaj
Date: Fri Dec  6 14:01:30 2019
New Revision: 519143
URL: https://svnweb.freebsd.org/changeset/ports/519143

Log:
  net-mgmt/netdata: fix build on GCC architectures
  
  Base GCC doesn't support LTO.

Modified:
  head/net-mgmt/netdata/Makefile

Modified: head/net-mgmt/netdata/Makefile
==============================================================================
--- head/net-mgmt/netdata/Makefile	Fri Dec  6 13:50:33 2019	(r519142)
+++ head/net-mgmt/netdata/Makefile	Fri Dec  6 14:01:30 2019	(r519143)
@@ -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


More information about the svn-ports-all mailing list