adjust-mflags.sh failed build with GNU Make 4.0 with -I<path contains j>

Thu, 02 Jun 2016 17:52:46 +0800

author
aoqi
date
Thu, 02 Jun 2016 17:52:46 +0800
changeset 17
9427473af9a2
parent 16
3cedde979d75
child 18
c6d15c517c00

adjust-mflags.sh failed build with GNU Make 4.0 with -I<path contains j>
see: http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/fb6a855141cb

make/bsd/makefiles/adjust-mflags.sh file | annotate | diff | comparison | revisions
make/linux/makefiles/adjust-mflags.sh file | annotate | diff | comparison | revisions
make/solaris/makefiles/adjust-mflags.sh file | annotate | diff | comparison | revisions
     1.1 --- a/make/bsd/makefiles/adjust-mflags.sh	Tue May 31 00:22:06 2016 -0400
     1.2 +++ b/make/bsd/makefiles/adjust-mflags.sh	Thu Jun 02 17:52:46 2016 +0800
     1.3 @@ -64,7 +64,7 @@
     1.4  	echo "$MFLAGS" \
     1.5  	| sed '
     1.6  		s/^-/ -/
     1.7 -		s/ -\([^ 	][^ 	]*\)j/ -\1 -j/
     1.8 +		s/ -\([^ 	I][^ 	I]*\)j/ -\1 -j/
     1.9  		s/ -j[0-9][0-9]*/ -j/
    1.10  		s/ -j\([^ 	]\)/ -j -\1/
    1.11  		s/ -j/ -j'${HOTSPOT_BUILD_JOBS:-${default_build_jobs}}'/
     2.1 --- a/make/linux/makefiles/adjust-mflags.sh	Tue May 31 00:22:06 2016 -0400
     2.2 +++ b/make/linux/makefiles/adjust-mflags.sh	Thu Jun 02 17:52:46 2016 +0800
     2.3 @@ -64,7 +64,7 @@
     2.4  	echo "$MFLAGS" \
     2.5  	| sed '
     2.6  		s/^-/ -/
     2.7 -		s/ -\([^ 	][^ 	]*\)j/ -\1 -j/
     2.8 +		s/ -\([^ 	I][^ 	I]*\)j/ -\1 -j/
     2.9  		s/ -j[0-9][0-9]*/ -j/
    2.10  		s/ -j\([^ 	]\)/ -j -\1/
    2.11  		s/ -j/ -j'${HOTSPOT_BUILD_JOBS:-${default_build_jobs}}'/
     3.1 --- a/make/solaris/makefiles/adjust-mflags.sh	Tue May 31 00:22:06 2016 -0400
     3.2 +++ b/make/solaris/makefiles/adjust-mflags.sh	Thu Jun 02 17:52:46 2016 +0800
     3.3 @@ -64,7 +64,7 @@
     3.4  	echo "$MFLAGS" \
     3.5  	| sed '
     3.6  		s/^-/ -/
     3.7 -		s/ -\([^ 	][^ 	]*\)j/ -\1 -j/
     3.8 +		s/ -\([^ 	I][^ 	I]*\)j/ -\1 -j/
     3.9  		s/ -j[0-9][0-9]*/ -j/
    3.10  		s/ -j\([^ 	]\)/ -j -\1/
    3.11  		s/ -j/ -j'${HOTSPOT_BUILD_JOBS:-${default_build_jobs}}'/

mercurial