# HG changeset patch # User ihse # Date 1485763774 -3600 # Node ID 88688213d2e3fa120db04821fce4b3aed7b39a2c # Parent 0bcbff9e43aafe4caa7be3bc6dd1cd55b60caa81 8081694: Remove DISABLED_WARNINGS_gcc for libsctp Reviewed-by: erikj diff -r 0bcbff9e43aa -r 88688213d2e3 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), \