Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2022 02:31:52 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: b1c548e8c34e - main - audio/a2jmidid: disable lto on powerpc64 to fix runtime and on riscv64 to fix build
Message-ID:  <202202220231.21M2VqZS028326@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=b1c548e8c34e94c7319bd9835d14437976a8429f

commit b1c548e8c34e94c7319bd9835d14437976a8429f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-22 02:20:18 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-22 02:20:18 +0000

    audio/a2jmidid: disable lto on powerpc64 to fix runtime and on riscv64 to fix build
---
 audio/a2jmidid/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/audio/a2jmidid/Makefile b/audio/a2jmidid/Makefile
index 596cf2996256..e21e6aaf40dc 100644
--- a/audio/a2jmidid/Makefile
+++ b/audio/a2jmidid/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	a2jmidid
 PORTVERSION=	9
+PORTREVISION=	1
 CATEGORIES=	audio
 
 MAINTAINER=	hselasky@FreeBSD.org
@@ -27,4 +28,10 @@ DBUS_MESON_OFF=	"-Ddisable-dbus=true"
 
 DEBUG_CFLAGS= "-DDEBUG"
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64 || ${ARCH} == riscv64
+MESON_ARGS+=	-Db_lto=false
+.endif
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202220231.21M2VqZS028326>