summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2021-05-03 01:29:03 (GMT)
committerGitHub <noreply@github.com>2021-05-03 01:29:03 (GMT)
commit90d523910a61290597b4599f17363b532f0a4411 (patch)
treebfb0c81cd7749b5108b5ff28fb5ef88774008242 /Mac
parent821f0c8c39f522f28407bd0e8d4adeadd3e72776 (diff)
downloadcpython-90d523910a61290597b4599f17363b532f0a4411.zip
cpython-90d523910a61290597b4599f17363b532f0a4411.tar.gz
cpython-90d523910a61290597b4599f17363b532f0a4411.tar.bz2
bpo-42362: Switch to clang/clang++ as the default compiler in build-installer.py (GH-23298)
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
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/BuildScript/build-installer.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 15a45b9..540b5a0 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -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()