Use clang by default on macOS
This commit is contained in:
parent
216a66ec4c
commit
c2f008672c
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -65,7 +65,7 @@ def at_least_version(package, major, minor=0):
|
|||
|
||||
|
||||
def cc_version():
|
||||
cc = os.environ.get('CC', 'gcc')
|
||||
cc = os.environ.get('CC', 'clang' if isosx else 'gcc')
|
||||
raw = subprocess.check_output([cc, '-dumpversion']).decode('utf-8')
|
||||
ver = raw.split('.')[:2]
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue