8036614: AIX: fix adjust-mflags.sh to build with GNU Make 4.0 (adapt 8028407 for AIX)
authorsimonis
Tue, 04 Mar 2014 17:14:00 +0100
changeset 23195 f504fb000847
parent 23194 e60d7409415b
child 23196 7fb201976e8b
8036614: AIX: fix adjust-mflags.sh to build with GNU Make 4.0 (adapt 8028407 for AIX) Reviewed-by: kvn
hotspot/make/aix/makefiles/adjust-mflags.sh
--- a/hotspot/make/aix/makefiles/adjust-mflags.sh	Tue Mar 04 02:33:10 2014 -0800
+++ b/hotspot/make/aix/makefiles/adjust-mflags.sh	Tue Mar 04 17:14:00 2014 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -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}}'/