]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Ensure clang++ is autodetected on iOS. (gh-123749)
authorRussell Keith-Magee <russell@keith-magee.com>
Fri, 6 Sep 2024 01:36:01 +0000 (09:36 +0800)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2024 01:36:01 +0000 (21:36 -0400)
configure
configure.ac

index 54982ab2aad9aa95d2d8125512927d0ec38faaf6..2e8044819083f3d8720129539f5455ca19e776b1 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
index 32e673e83e52d5b59bc0d1c0714d4cf1f216a2a4..38582d9987dc28ed2448adbdd79451fdd9f39856 100644 (file)
@@ -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