From 731968ed8bd62620ec8f1fa9ca1deb5c425e6099 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Tue, 25 Jul 2023 10:34:02 +0200 Subject: security/kleopatra: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- security/kleopatra/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'security') diff --git a/security/kleopatra/Makefile b/security/kleopatra/Makefile index 86669da6c7ae..4ebb05d88f27 100644 --- a/security/kleopatra/Makefile +++ b/security/kleopatra/Makefile @@ -26,4 +26,10 @@ USE_XORG= x11 OPTIONS_DEFINE= DOCS -.include +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CXXFLAGS+= -Wno-error=enum-constexpr-conversion +.endif + +.include -- cgit v1.2.3