git: b1c548e8c34e - main - audio/a2jmidid: disable lto on powerpc64 to fix runtime and on riscv64 to fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Feb 2022 02:31:52 UTC
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>