8027059: (sctp) fatal warnings overly restrictive with gcc 4.8.1
Reviewed-by: mduigou, dxu, erikj, ihse
--- a/jdk/makefiles/lib/NioLibraries.gmk Wed Oct 23 13:06:37 2013 +0200
+++ b/jdk/makefiles/lib/NioLibraries.gmk Wed Oct 23 13:43:12 2013 +0100
@@ -150,7 +150,8 @@
ifneq ($(OPENJDK_TARGET_OS), macosx)
- SCTP_WERROR := -Werror
+ # Suppress unused parameters required by exported JNI functions.
+ SCTP_WERROR := -Werror -Wno-error=unused-parameter
ifeq ($(OPENJDK_TARGET_CPU_ARCH), ppc)
SCTP_WERROR :=
endif