From 4d692882d86e20ac4e96e7e0e475e838aeeb0b76 Mon Sep 17 00:00:00 2001 From: Ronald Klop Date: Fri, 14 Nov 2025 17:39:11 +0100 Subject: java/openjdk11: reduce build log size Suppress warnings with newer llvm versions. If upstream doesn't fix the warnings it makes no sense to bother the port with it. In my test the log went from 30 MB to 3 MB. No functional change intended. Approved by: java@ mailing list --- java/openjdk11/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'java') diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index 1548c2e3fa6b..28f3a7b9eba5 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -171,6 +171,8 @@ CFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CXXFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CONFIGURE_ARGS+=--disable-precompiled-headers .else +# it is up to upstream project to fix these or not +CFLAGS+= -Wno-deprecated-builtins -Wno-inline-asm -Wno-unknown-attributes MAKE_ENV+= USE_CLANG=true .if ${ARCH:Mpowerpc64*} LLVM_VER= 12 -- cgit v1.2.3