comparison make/aix/makefiles/adjust-mflags.sh @ 14726:92aa6797d639

Backed out merge changeset: b51e29501f30 Backed out merge revision to its first parent (8f483e200405)
author Doug Simon <doug.simon@oracle.com>
date Mon, 24 Mar 2014 21:30:43 +0100
parents 131c59b5e66a
children
comparison
equal deleted inserted replaced
14719:0bdd0d157040 14726:92aa6797d639
1 #! /bin/sh 1 #! /bin/sh
2 # 2 #
3 # Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. 3 # Copyright (c) 1999, 2013, 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/ -\([^ I][^ I]*\)j/ -\1 -j/ 67 s/ -\([^ ][^ ]*\)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