Add gmake 4 patch

This commit is contained in:
Crispin Boylan 2014-05-15 12:58:41 +01:00
parent f7b2e97ddc
commit 3d53b89452
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- java-1.8.0-openjdk/jdk8/hotspot/make/linux/makefiles/adjust-mflags.sh.make 2013-10-14 18:55:57.416829431 -0400
+++ java-1.8.0-openjdk/jdk8/hotspot/make/linux/makefiles/adjust-mflags.sh 2013-10-14 18:56:13.183389765 -0400
@@ -64,7 +64,7 @@ MFLAGS=`
echo "$MFLAGS" \
| sed '
s/^-/ -/
- s/ -\([^ ][^ ]*\)j/ -\1 -j/
+ s/ -\([^ I][^ I]*\)j/ -\1 -j/
s/ -j[0-9][0-9]*/ -j/
s/ -j\([^ ]\)/ -j -\1/
s/ -j/ -j'${HOTSPOT_BUILD_JOBS:-${default_build_jobs}}'/

View file

@ -223,6 +223,7 @@ Patch202: system-libpng.patch
Patch203: system-lcms.patch
Patch301: java-1.8.0-openjdk-giflib5.patch
Patch302: java-1.8.0-openjdk-make-4.0.patch
Patch999: 0001-PPC64LE-arch-support-in-openjdk-1.8.patch
@ -453,6 +454,7 @@ sh %{SOURCE12}
# omv patches
%patch301
%patch302 -p1
# Extract systemtap tapsets
%if %{with_systemtap}