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
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user