Mercurial > hg > graal-compiler
comparison make/aix/makefiles/adjust-mflags.sh @ 20661:9dee5f673903
8036614: AIX: fix adjust-mflags.sh to build with GNU Make 4.0 (adapt 8028407 for AIX)
Reviewed-by: kvn
author | simonis |
---|---|
date | Tue, 04 Mar 2014 17:14:00 +0100 |
parents | b83f7d608548 |
children | 92aa6797d639 |
comparison
equal
deleted
inserted
replaced
20660:fb6a855141cb | 20661:9dee5f673903 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # | 2 # |
3 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. | 3 # Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. |
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 # | 5 # |
6 # This code is free software; you can redistribute it and/or modify it | 6 # This code is free software; you can redistribute it and/or modify it |
7 # under the terms of the GNU General Public License version 2 only, as | 7 # under the terms of the GNU General Public License version 2 only, as |
8 # published by the Free Software Foundation. | 8 # published by the Free Software Foundation. |
62 # Normalize any -jN argument to the form " -j${HBJ}" | 62 # Normalize any -jN argument to the form " -j${HBJ}" |
63 MFLAGS=` | 63 MFLAGS=` |
64 echo "$MFLAGS" \ | 64 echo "$MFLAGS" \ |
65 | sed ' | 65 | sed ' |
66 s/^-/ -/ | 66 s/^-/ -/ |
67 s/ -\([^ ][^ ]*\)j/ -\1 -j/ | 67 s/ -\([^ I][^ I]*\)j/ -\1 -j/ |
68 s/ -j[0-9][0-9]*/ -j/ | 68 s/ -j[0-9][0-9]*/ -j/ |
69 s/ -j\([^ ]\)/ -j -\1/ | 69 s/ -j\([^ ]\)/ -j -\1/ |
70 s/ -j/ -j'${HOTSPOT_BUILD_JOBS:-${default_build_jobs}}'/ | 70 s/ -j/ -j'${HOTSPOT_BUILD_JOBS:-${default_build_jobs}}'/ |
71 ' ` | 71 ' ` |
72 | 72 |