git: 8687670ef234 - main - net-im/libquotient: work around compiler bug present on current
Date: Fri, 30 Jun 2023 15:16:59 UTC
The branch main has been updated by tcberner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8687670ef234f40edfa6fe8709bbd8c133dbc866
commit 8687670ef234f40edfa6fe8709bbd8c133dbc866
Author: Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-06-30 13:14:28 +0000
Commit: Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-06-30 15:15:45 +0000
net-im/libquotient: work around compiler bug present on current
PR: 272285
---
net-im/libquotient/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/net-im/libquotient/Makefile b/net-im/libquotient/Makefile
index 819875219e8b..5aa6956937d4 100644
--- a/net-im/libquotient/Makefile
+++ b/net-im/libquotient/Makefile
@@ -23,6 +23,13 @@ GH_PROJECT= libQuotient
CMAKE_ARGS= -DQuotient_INSTALL_TESTS=OFF
+# Work around compiler bug, see pr: 272285
+USES+= llvm
+CC= ${LLVM_PREFIX}/bin/clang
+CPP= ${LLVM_PREFIX}/bin/clang-cpp
+CXX= ${LLVM_PREFIX}/bin/clang++
+
+
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1301507