mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
mmake uses $MAKE if available
This commit is contained in:
parent
4c6f928fbf
commit
fd772b9b2a
1 changed files with 1 additions and 2 deletions
|
@ -38,8 +38,7 @@ done
|
||||||
whence nproc >/dev/null || autoload -Uz nproc
|
whence nproc >/dev/null || autoload -Uz nproc
|
||||||
j=-j$(nproc)
|
j=-j$(nproc)
|
||||||
}
|
}
|
||||||
local make
|
local make=${MAKE:-$(echo /opt/cosmocc/bin/make(X) 2>/dev/null)}
|
||||||
[[ -x /opt/cosmocc/bin/make ]] && make=/opt/cosmocc/bin/make
|
|
||||||
[[ -z $make ]] && make=build/bootstrap/make.com
|
[[ -z $make ]] && make=build/bootstrap/make.com
|
||||||
( set -x
|
( set -x
|
||||||
exec $make $j $flags MODE=$mode $targs )
|
exec $make $j $flags MODE=$mode $targs )
|
||||||
|
|
Loading…
Reference in a new issue