summaryrefslogtreecommitdiff
path: root/java/openjdk8/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-10-08 07:25:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-10-08 07:25:18 +0000
commit4064c61d2c92ac2aea343ec53c3e13610fdb735a (patch)
treeb92a1b932d5a51ad0fb0263bdc388e88c767158c /java/openjdk8/files
parentFix build with gmake 4.1 (diff)
Fix build with gmake 4.1
Notes
Notes: svn path=/head/; revision=370420
Diffstat (limited to 'java/openjdk8/files')
-rw-r--r--java/openjdk8/files/patch-hotspot__make__bsd__makefiles__adjust-mflags.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-hotspot__make__bsd__makefiles__adjust-mflags.sh b/java/openjdk8/files/patch-hotspot__make__bsd__makefiles__adjust-mflags.sh
new file mode 100644
index 000000000000..710865c3c060
--- /dev/null
+++ b/java/openjdk8/files/patch-hotspot__make__bsd__makefiles__adjust-mflags.sh
@@ -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}}'/