Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2023 07:30:35 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: e329c603964f - main - net-im/kaccounts-integration: fix build on powerpc* with llvm < 16
Message-ID:  <202307010730.3617UZJU084716@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=e329c603964f87f721a96e49f7ac137c3344e4c6

commit e329c603964f87f721a96e49f7ac137c3344e4c6
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-07-01 07:23:39 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-07-01 07:30:31 +0000

    net-im/kaccounts-integration: fix build on powerpc* with llvm < 16
    
    fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
---
 net-im/kaccounts-integration/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/net-im/kaccounts-integration/Makefile b/net-im/kaccounts-integration/Makefile
index 069f829bfd1a..d06a5c382a71 100644
--- a/net-im/kaccounts-integration/Makefile
+++ b/net-im/kaccounts-integration/Makefile
@@ -23,4 +23,11 @@ USE_KDE=	auth codecs config configwidgets coreaddons dbusaddons \
 USE_QT=		concurrent core dbus declarative gui network widgets xml \
 		buildtools:build qmake:build
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH:Mpowerpc*} && ${OSVERSION} < 1400092
+CXX=		clang++${LLVM_VERSION}
+USES+=		llvm:min=16
+.endif
+
 .include <bsd.port.mk>



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