Skip to content

Commit

Permalink
devel/flatbuffers205: 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 Aug 6, 2023
1 parent 1be2301 commit 13b8cae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devel/flatbuffers205/Makefile
Expand Up @@ -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>

0 comments on commit 13b8cae

Please sign in to comment.