1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

devel/criterion: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-20 16:29:30 +02:00
parent 03e0c11309
commit 05706f90a8

View File

@ -37,6 +37,12 @@ CFLAGS+= -fPIC \
MESON_ARGS= -Dtests=false -Dsamples=false
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
quick-test:
@cd ${TEST_WRKSRC} && \
${CC} ${CFLAGS} ${LDFLAGS} -I${STAGEDIR}${PREFIX}/include \