8081694: Remove DISABLED_WARNINGS_gcc for libsctp
authorihse
Mon, 30 Jan 2017 09:09:34 +0100
changeset 43332 88688213d2e3
parent 43331 0bcbff9e43aa
child 43333 958f1fb2dfd6
child 43716 d5fb222e6151
8081694: Remove DISABLED_WARNINGS_gcc for libsctp Reviewed-by: erikj
jdk/make/lib/Lib-jdk.sctp.gmk
--- 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), \