Use -Wno-error=int-conversion to unbreak configure step with clang 15

This commit is contained in:
jca 2023-01-24 18:05:35 +00:00
parent f4cb24d94b
commit 2bd7442b35
2 changed files with 8 additions and 0 deletions

View File

@ -49,3 +49,7 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
DEBUG_PACKAGES = ${BUILD_PACKAGES}
.include <bsd.port.mk>
.if ${CHOSEN_COMPILER} == "base-clang"
CFLAGS+= -Wno-error=int-conversion
.endif

View File

@ -45,3 +45,7 @@ post-install:
${WRKINST}/${TRUEPREFIX}/share/fvwm3/
.include <bsd.port.mk>
.if ${CHOSEN_COMPILER} == "base-clang"
CFLAGS+= -Wno-error=int-conversion
.endif