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:
parent
03e0c11309
commit
05706f90a8
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user