Date: Fri, 9 Jun 2023 16:55:19 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: 30c44d9a9c78 - main - misc/dartsim: Fix build with llvm15 Message-ID: <202306091655.359GtJq6074317@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=30c44d9a9c78315ce7bf3c2fab9c2113b9bd4581 commit 30c44d9a9c78315ce7bf3c2fab9c2113b9bd4581 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-09 16:45:13 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-09 16:55:04 +0000 misc/dartsim: Fix build with llvm15 Approved by: portmgr (blanket) --- misc/dartsim/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/misc/dartsim/Makefile b/misc/dartsim/Makefile index e4bb640dec12..d89e4ada1c44 100644 --- a/misc/dartsim/Makefile +++ b/misc/dartsim/Makefile @@ -55,4 +55,10 @@ OPTIONS_DEFINE= DOCS PORTDOCS= * +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=unused-but-set-variable +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306091655.359GtJq6074317>