diff --git a/disable-werror.patch b/disable-werror.patch deleted file mode 100644 index 175c4b4..0000000 --- a/disable-werror.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/makefiles/CompileNativeLibraries.gmk b/makefiles/CompileNativeLibraries.gmk ---- jdk8/jdk/makefiles/CompileNativeLibraries.gmk -+++ jdk8/jdk/makefiles/CompileNativeLibraries.gmk -@@ -1980,10 +1980,7 @@ - - ifneq ($(OPENJDK_TARGET_OS),macosx) - -- SCTP_WERROR := -Werror -- ifeq ($(OPENJDK_TARGET_CPU_ARCH), ppc) -- SCTP_WERROR := -- endif -+ SCTP_WERROR := - - $(eval $(call SetupNativeCompilation,BUILD_LIBSCTP,\ - LIBRARY:=sctp,\ diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index a755327..5e96a95 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -199,8 +199,6 @@ Patch102: %{name}-size_t.patch # Patch for PPC/PPC64 Patch103: %{name}-ppc-zero-hotspot.patch -Patch104: disable-werror.patch - Patch200: system-giflib.patch Patch201: system-libjpeg.patch Patch202: system-libpng.patch @@ -352,7 +350,6 @@ The OpenJDK API documentation. cp %{SOURCE2} . # OpenJDK patches -%patch104 # Rhino patch %patch100 @@ -474,7 +471,7 @@ bash ../../configure \ --with-stdc++lib=dynamic \ --with-num-cores="$NUM_PROC" -make DEBUG_BINARIES=true DISABLE_INTREE_EC=true LOG=trace all +make SCTP_WERROR= DEBUG_BINARIES=true DISABLE_INTREE_EC=true LOG=trace all popd >& /dev/null