diff options
-rw-r--r-- | net-mgmt/netdata/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile index e032af0d135d..41a4a600974e 100644 --- a/net-mgmt/netdata/Makefile +++ b/net-mgmt/netdata/Makefile @@ -87,6 +87,10 @@ LTO_USES= compiler:c11 BROKEN= Link-Time Optimization breaks compilation on FreeBSD 11 .endif +.if ${PORT_OPTIONS:MLTO} && ${ARCH} == powerpc64 +USE_GCC= yes +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g' \ ${PATCH_WRKSRC}/configure.ac |