mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
mmake: different cosmocc regime
Now that cosmocc is unpacked into a version-specific directory under cosmocc/, it makes more sense to put the versions in /opt/cosmocc and maintain a symlink to the currently active one.
This commit is contained in:
parent
5e7137097d
commit
2e5f662dfe
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +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=${MAKE:-${COSMOCC:-/opt/cosmocc}/bin/make}
|
local make=${MAKE:-${COSMOCC:-/opt/cosmocc/current}/bin/make}
|
||||||
[[ -x $make ]] || make=${COSMO:-$PWD}/build/bootstrap/make.com
|
[[ -x $make ]] || make=${COSMO:-$PWD}/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