Skip to content

Commit

Permalink
misc/dartsim: Fix build with llvm15
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed Jun 9, 2023
1 parent c21a38f commit 30c44d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions misc/dartsim/Makefile
Expand Up @@ -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>

0 comments on commit 30c44d9

Please sign in to comment.