mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 00:10:31 +00:00
prefer system ape
This commit is contained in:
parent
161ec3ffb7
commit
fa66484051
1 changed files with 14 additions and 12 deletions
|
@ -40,6 +40,7 @@ fi
|
||||||
$MAKE -j$NPROC m= \
|
$MAKE -j$NPROC m= \
|
||||||
$APELINK
|
$APELINK
|
||||||
|
|
||||||
|
if ! APE=$(command -v ape); then
|
||||||
case $(uname -s) in
|
case $(uname -s) in
|
||||||
Darwin)
|
Darwin)
|
||||||
case $(mode) in
|
case $(mode) in
|
||||||
|
@ -53,6 +54,7 @@ case $(uname -s) in
|
||||||
;;
|
;;
|
||||||
*) APE=.cosmocc/current/bin/ape-$(uname -m).elf ;;
|
*) APE=.cosmocc/current/bin/ape-$(uname -m).elf ;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
stat $APE
|
stat $APE
|
||||||
|
|
||||||
$MAKE -j$NPROC m=$AMD64 \
|
$MAKE -j$NPROC m=$AMD64 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue