aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-02-22 02:20:18 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-02-22 02:20:18 +0000
commitb1c548e8c34e94c7319bd9835d14437976a8429f (patch)
tree5c616ac70450fdccd0b4157c99c07f2c9bb9ba17
parentd66021047c347c491b509aaad0d6e02dc0aaddf2 (diff)
downloadports-b1c548e8c34e94c7319bd9835d14437976a8429f.tar.gz
ports-b1c548e8c34e94c7319bd9835d14437976a8429f.zip
audio/a2jmidid: disable lto on powerpc64 to fix runtime and on riscv64 to fix build
-rw-r--r--audio/a2jmidid/Makefile7
1 files changed, 7 insertions, 0 deletions
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>