git: ce851496cfb3 - main - net/kdenetwork-filesharing: fix build on powerpc* with llvm < 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Jul 2023 07:30:36 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce851496cfb3cacd5d6ea2e84e4c8edd24bfe787 commit ce851496cfb3cacd5d6ea2e84e4c8edd24bfe787 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-07-01 07:29:38 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-07-01 07:30:31 +0000 net/kdenetwork-filesharing: 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/kdenetwork-filesharing/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/net/kdenetwork-filesharing/Makefile b/net/kdenetwork-filesharing/Makefile index 85b214306642..73a31714bcb2 100644 --- a/net/kdenetwork-filesharing/Makefile +++ b/net/kdenetwork-filesharing/Makefile @@ -17,4 +17,11 @@ USE_XORG= x11 OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${ARCH:Mpowerpc*} && ${OSVERSION} < 1400092 +CXX= clang++${LLVM_VERSION} +USES+= llvm:min=16 +.endif + .include <bsd.port.mk>