diff options
-rw-r--r-- | java/openjdk18/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/java/openjdk18/Makefile b/java/openjdk18/Makefile index aa71d4e7d2a1..c077b1255c69 100644 --- a/java/openjdk18/Makefile +++ b/java/openjdk18/Makefile @@ -149,7 +149,12 @@ CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFA .else MAKE_ENV+= USE_CLANG=true .if ${COMPILER_VERSION} >= 130 -CONFIGURE_ARGS+= --with-extra-cflags="-Wno-unused-but-set-parameter" +EXTRA_CFLAGS+= -Wno-unused-but-set-parameter +.if ${COMPILER_VERSION} >= 140 +EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical +.endif +CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}" +CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}" .endif .endif |