java-1.8.0-openjdk/disable-werror.patch
2013-03-12 09:35:26 -04:00

16 lines
473 B
Diff

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,\