devel/flatbuffers205: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-06 19:41:05 +02:00
parent 1be2301c64
commit 13b8caebd6

View file

@ -24,4 +24,10 @@ CMAKE_TESTING_ON= FLATBUFFERS_BUILD_TESTS # one test fails, see https://github.c
BINARY_ALIAS= git=false python3=${PYTHON_CMD}
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CXXFLAGS+= -Wno-error=unused-command-line-argument
.endif
.include <bsd.port.mk>