Fix build with gmake 4.1

This commit is contained in:
Baptiste Daroussin
2014-10-08 07:25:18 +00:00
parent b814bb5775
commit 4064c61d2c
@@ -0,0 +1,11 @@
--- hotspot/make/bsd/makefiles/adjust-mflags.sh.orig 2014-03-04 02:52:06 UTC
+++ hotspot/make/bsd/makefiles/adjust-mflags.sh
@@ -64,7 +64,7 @@
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}}'/