]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-42362: Switch to clang/clang++ as the default compiler in build-installer.py...
authorRonald Oussoren <ronaldoussoren@mac.com>
Mon, 3 May 2021 01:29:03 +0000 (03:29 +0200)
committerGitHub <noreply@github.com>
Mon, 3 May 2021 01:29:03 +0000 (18:29 -0700)
This change is cosmetic only, the "gcc" command in Apple's compiler tools is an alias for "clang" (and using non-system tooling for building the installer is not supported by this script).

Automerge-Triggered-By: GH:ned-deily
Mac/BuildScript/build-installer.py

index 15a45b95a23c4b4b38e03ed3d28b0fc5d6f95b7f..540b5a0d1b8f93df61d28042bcdb84ec546538b8 100755 (executable)
@@ -161,8 +161,11 @@ def getTargetCompilers():
         '10.4': ('gcc-4.0', 'g++-4.0'),
         '10.5': ('gcc', 'g++'),
         '10.6': ('gcc', 'g++'),
+        '10.7': ('gcc', 'g++'),
+        '10.8': ('gcc', 'g++'),
+        '10.9': ('gcc', 'g++'),
     }
-    return target_cc_map.get(DEPTARGET, ('gcc', 'g++') )
+    return target_cc_map.get(DEPTARGET, ('clang', 'clang++') )
 
 CC, CXX = getTargetCompilers()