mirror of https://github.com/python/cpython
Ensure clang++ is autodetected on iOS. (gh-123749)
This commit is contained in:
parent
fe24b718d2
commit
d359c7c47b
|
@ -4146,9 +4146,9 @@ if test -z "$CPP"; then
|
|||
fi
|
||||
if test -z "$CXX"; then
|
||||
case "$host" in
|
||||
aarch64-apple-ios*-simulator) CXX=arm64-apple-ios-simulator-clang ;;
|
||||
aarch64-apple-ios*) CXX=arm64-apple-ios-clang ;;
|
||||
x86_64-apple-ios*-simulator) CXX=x86_64-apple-ios-simulator-clang ;;
|
||||
aarch64-apple-ios*-simulator) CXX=arm64-apple-ios-simulator-clang++ ;;
|
||||
aarch64-apple-ios*) CXX=arm64-apple-ios-clang++ ;;
|
||||
x86_64-apple-ios*-simulator) CXX=x86_64-apple-ios-simulator-clang++ ;;
|
||||
*)
|
||||
esac
|
||||
fi
|
||||
|
|
|
@ -418,9 +418,9 @@ if test -z "$CPP"; then
|
|||
fi
|
||||
if test -z "$CXX"; then
|
||||
case "$host" in
|
||||
aarch64-apple-ios*-simulator) CXX=arm64-apple-ios-simulator-clang ;;
|
||||
aarch64-apple-ios*) CXX=arm64-apple-ios-clang ;;
|
||||
x86_64-apple-ios*-simulator) CXX=x86_64-apple-ios-simulator-clang ;;
|
||||
aarch64-apple-ios*-simulator) CXX=arm64-apple-ios-simulator-clang++ ;;
|
||||
aarch64-apple-ios*) CXX=arm64-apple-ios-clang++ ;;
|
||||
x86_64-apple-ios*-simulator) CXX=x86_64-apple-ios-simulator-clang++ ;;
|
||||
*)
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue