--- a/jdk/make/lib/Lib-jdk.sctp.gmk Sat Jan 28 20:51:28 2017 -0800
+++ b/jdk/make/lib/Lib-jdk.sctp.gmk Mon Jan 30 09:09:34 2017 +0100
@@ -30,9 +30,6 @@
ifeq ($(OPENJDK_TARGET_OS_TYPE), unix)
ifeq (, $(filter $(OPENJDK_TARGET_OS), macosx aix))
- # DISABLED_WARNINGS_gcc := unused-parameter needed to
- # suppress unused parameters required by exported JNI functions.
-
$(eval $(call SetupNativeCompilation,BUILD_LIBSCTP, \
LIBRARY := sctp, \
OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
@@ -45,7 +42,6 @@
$(LIBJAVA_HEADER_FLAGS) \
-I$(SUPPORT_OUTPUTDIR)/headers/jdk.sctp \
-I$(SUPPORT_OUTPUTDIR)/headers/java.base, \
- DISABLED_WARNINGS_gcc := unused-parameter, \
MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libsctp/mapfile-vers, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \