Disable the -Werror compiler flag while compiling JDK SCTP.
Signed-off-by: Guido Trentalancia <[email protected]>
---
jdk/make/lib/NioLibraries.gmk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- jdk8u-build2/jdk/make/lib/NioLibraries.gmk 2016-05-11 00:03:25.591433084
+0200
+++ jdk8u-build1/jdk/make/lib/NioLibraries.gmk 2016-05-11 00:10:18.941034797
+0200
@@ -170,7 +170,7 @@ ifeq ($(OPENJDK_TARGET_OS_API), posix)
ifeq (, $(filter $(OPENJDK_TARGET_OS), macosx aix))
# Suppress unused parameters required by exported JNI functions.
- SCTP_WERROR := -Werror -Wno-error=unused-parameter
+ SCTP_WERROR := -Wno-error=unused-parameter
ifeq ($(OPENJDK_TARGET_CPU_ARCH), ppc)
SCTP_WERROR :=
endif