mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 05:20:21 +00:00
Minor mmake cleanup
This commit is contained in:
parent
1bc48bc8e4
commit
bb2602a524
1 changed files with 1 additions and 1 deletions
|
@ -6,11 +6,11 @@
|
||||||
# mmake tiny ape/ape.elf
|
# mmake tiny ape/ape.elf
|
||||||
local mode
|
local mode
|
||||||
case $1 in
|
case $1 in
|
||||||
(m|MODE)=*) mode=${1#*=}; shift ;;
|
|
||||||
aarch64|x86_64|aarch64-(zero|tiny)|x86_64-tiny) ;&
|
aarch64|x86_64|aarch64-(zero|tiny)|x86_64-tiny) ;&
|
||||||
zero|fastbuild|opt|optlinux|rel|asan|dbg|sysv) ;&
|
zero|fastbuild|opt|optlinux|rel|asan|dbg|sysv) ;&
|
||||||
tiny(|linux(|bsd)|sysv|nowin)|nox87|llvm|ansi) ##
|
tiny(|linux(|bsd)|sysv|nowin)|nox87|llvm|ansi) ##
|
||||||
mode=$1; shift ;;
|
mode=$1; shift ;;
|
||||||
|
(m|MODE)=*) mode=${1#*=}; shift ;;
|
||||||
*) mode=${MODE:-${m}} ;;
|
*) mode=${MODE:-${m}} ;;
|
||||||
esac
|
esac
|
||||||
[[ -z $mode ]] && {
|
[[ -z $mode ]] && {
|
||||||
|
|
Loading…
Add table
Reference in a new issue