Date: Sun, 6 Aug 2023 18:30:47 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 13b8caebd678 - main - devel/flatbuffers205: Fix build with llvm16 Message-ID: <202308061830.376IUlfn034173@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=13b8caebd678c48c3491d4ca110f26c3bb19cf76 commit 13b8caebd678c48c3491d4ca110f26c3bb19cf76 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-06 17:41:05 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-06 18:30:38 +0000 devel/flatbuffers205: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/flatbuffers205/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/flatbuffers205/Makefile b/devel/flatbuffers205/Makefile index 1610ec4044ed..514f362243db 100644 --- a/devel/flatbuffers205/Makefile +++ b/devel/flatbuffers205/Makefile @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308061830.376IUlfn034173>