git: 8f313982c463 - main - net-mgmt/netdata: don't force gcc on powerpc, powerpcspe and powerpc64le

Piotr Kubaj pkubaj at FreeBSD.org
Thu Jun 10 08:58:08 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f313982c46347978e09ab3b5df4d230b8ea467f

commit 8f313982c46347978e09ab3b5df4d230b8ea467f
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-10 08:57:33 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-10 08:57:33 +0000

    net-mgmt/netdata: don't force gcc on powerpc, powerpcspe and powerpc64le
    
    LTO is broken only on powerpc64.
---
 net-mgmt/netdata/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile
index 163ec8920e4c..3dcd9ca3b1b8 100644
--- a/net-mgmt/netdata/Makefile
+++ b/net-mgmt/netdata/Makefile
@@ -76,7 +76,7 @@ LTO_CONFIGURE_ENABLE=	lto
 BROKEN=		Link-Time Optimization breaks compilation on FreeBSD 11
 .endif
 
-.if ${PORT_OPTIONS:MLTO} && ${ARCH:Mpowerpc*}
+.if ${PORT_OPTIONS:MLTO} && ${ARCH} == powerpc64
 USE_GCC=	yes
 .endif
 


More information about the dev-commits-ports-main mailing list