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
This commit is contained in:
Ronald Oussoren 2021-05-03 03:29:03 +02:00 committed by GitHub
parent 821f0c8c39
commit 90d523910a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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()