From 3378cc494de65725a36e8ff5aaa205273521ba52 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Thu, 29 Aug 2024 09:46:12 +0200 Subject: java/openjdk8 java/openjdk11 java/openjdk17 java/openjdk18 java/openjdk19 java/openjdk20 java/openjdk21 java/openjdk22: disable warnings as errors Generally disable warnings-as-errors for all openjdk ports, removing all the conditionals we have now for particular architectures and/or compilers. It does not make sense to have this on by default, unless you are an upstream maintainer. PR: 281188 Approved by: maintainer timeout (2 weeks) MFH: 2024Q3 --- java/openjdk8/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/openjdk8') diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile index a90b1c831754..1b9f0a35ea3d 100644 --- a/java/openjdk8/Makefile +++ b/java/openjdk8/Makefile @@ -203,7 +203,7 @@ LIB_DEPENDS+= libffi.so:devel/libffi .endif .if ${COMPILER_TYPE} == clang -MAKE_ENV+= COMPILER_WARNINGS_FATAL=false USE_CLANG=true +MAKE_ENV+= USE_CLANG=true CONFIGURE_ENV+= LIBCXX="-lc++" # clang 16 defaults to C++17, which no longer allows the 'register' keyword. # There is an upstream commit that removes all the individual 'register' -- cgit v1.2.3