Skip to content

Commit

Permalink
devel/criterion: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 20, 2023
1 parent 03e0c11 commit 05706f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devel/criterion/Makefile
Expand Up @@ -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 \
Expand Down

0 comments on commit 05706f9

Please sign in to comment.