Ignore build warnings in SCTP using make command
This commit is contained in:
parent
7245ea2af1
commit
68a71d9792
@ -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,\
|
|
@ -199,8 +199,6 @@ Patch102: %{name}-size_t.patch
|
|||||||
# Patch for PPC/PPC64
|
# Patch for PPC/PPC64
|
||||||
Patch103: %{name}-ppc-zero-hotspot.patch
|
Patch103: %{name}-ppc-zero-hotspot.patch
|
||||||
|
|
||||||
Patch104: disable-werror.patch
|
|
||||||
|
|
||||||
Patch200: system-giflib.patch
|
Patch200: system-giflib.patch
|
||||||
Patch201: system-libjpeg.patch
|
Patch201: system-libjpeg.patch
|
||||||
Patch202: system-libpng.patch
|
Patch202: system-libpng.patch
|
||||||
@ -352,7 +350,6 @@ The OpenJDK API documentation.
|
|||||||
cp %{SOURCE2} .
|
cp %{SOURCE2} .
|
||||||
|
|
||||||
# OpenJDK patches
|
# OpenJDK patches
|
||||||
%patch104
|
|
||||||
|
|
||||||
# Rhino patch
|
# Rhino patch
|
||||||
%patch100
|
%patch100
|
||||||
@ -474,7 +471,7 @@ bash ../../configure \
|
|||||||
--with-stdc++lib=dynamic \
|
--with-stdc++lib=dynamic \
|
||||||
--with-num-cores="$NUM_PROC"
|
--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
|
popd >& /dev/null
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user