diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-06-20 23:05:11 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-06-20 23:05:11 +0000 |
commit | 12eb42822ffc0bf058afcac72dda36ca0793ff9e (patch) | |
tree | f704c726da5e188e3891a4253c49eca47d32f41a | |
parent | 2287e8f627d43a120be870809c18e1b7e02a628d (diff) | |
download | ports-12eb42822ffc0bf058afcac72dda36ca0793ff9e.tar.gz ports-12eb42822ffc0bf058afcac72dda36ca0793ff9e.zip |
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.
-rw-r--r-- | net-mgmt/netdata/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
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 |