mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-15 05:20:06 +08:00
Use uname -s since uname -o is not compatible with macOS/Darwin
This commit is contained in:
parent
c51236eee7
commit
4410dbdd7f
2
configure
vendored
2
configure
vendored
@ -58,7 +58,7 @@ test -n "$CC" && cc="$CC"
|
|||||||
cpu=`uname -m`
|
cpu=`uname -m`
|
||||||
cpu_sys="$cpu"
|
cpu_sys="$cpu"
|
||||||
targetos=`uname`
|
targetos=`uname`
|
||||||
test "$(uname -o)" = "Android" && targetos=Android
|
test "$(uname -s)" = "Android" && targetos=Android
|
||||||
|
|
||||||
case $targetos in
|
case $targetos in
|
||||||
Darwin)
|
Darwin)
|
||||||
|
Loading…
Reference in New Issue
Block a user