all.sh: fix MAKEFLAGS setting
MAKEFLAGS was set to -j if it was already set, instead of being set if not previously set as intended. So now all.sh will do parallel builds if invoked without MAKEFLAGS in the environment.
This commit is contained in:
parent
a16c2b1ff1
commit
a1fc4b5ead
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ pre_initialize_variables () {
|
|||
: ${ARMC6_BIN_DIR:=/usr/bin}
|
||||
|
||||
# if MAKEFLAGS is not set add the -j option to speed up invocations of make
|
||||
if [ -n "${MAKEFLAGS+set}" ]; then
|
||||
if [ -z "${MAKEFLAGS+set}" ]; then
|
||||
export MAKEFLAGS="-j"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue