Date: Sun, 20 Jun 2021 23:05:46 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 12eb42822ffc - main - net-mgmt/netdata: disable LTO on powerpc64 and riscv64 Message-ID: <202106202305.15KN5kdg029332@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=12eb42822ffc0bf058afcac72dda36ca0793ff9e commit 12eb42822ffc0bf058afcac72dda36ca0793ff9e Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-06-20 23:05:11 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-06-20 23:05:11 +0000 net-mgmt/netdata: disable LTO on powerpc64 and riscv64 Using LTO on powerpc64 with Clang generates broken binaries. On riscv64, LTO with Clang doesn't work at all: checking if -flto builds executables... no configure: error: LTO is required but is not available. --- net-mgmt/netdata/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile index b8f91d32349a..50a30a07a6ec 100644 --- a/net-mgmt/netdata/Makefile +++ b/net-mgmt/netdata/Makefile @@ -3,6 +3,7 @@ PORTNAME= netdata DISTVERSIONPREFIX= v DISTVERSION= 1.31.0 +PORTVERSION= 1 CATEGORIES= net-mgmt MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ \ https://github.com/forkbomb9/netdata/commit/:dashboard @@ -59,6 +60,8 @@ OPTIONS_DEFAULT_FreeBSD_12= LTO OPTIONS_DEFAULT_FreeBSD_13= LTO OPTIONS_DEFAULT_FreeBSD_14= LTO OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} +OPTIONS_EXCLUDE_powerpc64= LTO +OPTIONS_EXCLUDE_riscv64= LTO OPTIONS_SUB= YES CLOUD_DESC= Enable cloud functionality
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106202305.15KN5kdg029332>