Skip to content

Commit

Permalink
java/openjdk19: 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 7, 2023
1 parent 9b1f7bf commit 15a656b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/openjdk19/Makefile
Expand Up @@ -144,6 +144,9 @@ EXTRA_CFLAGS+= -Wno-unused-but-set-parameter
.if ${COMPILER_VERSION} >= 140
EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical
.endif
.if ${COMPILER_VERSION} >= 160
EXTRA_CFLAGS+= -Wno-error=deprecated-non-prototype
.endif
CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}"
CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}"
.endif
Expand Down

0 comments on commit 15a656b

Please sign in to comment.