Kaydet (Commit) f31b4782 authored tarafından Ned Deily's avatar Ned Deily

Issue #21311: Avoid exception in _osx_support with non-standard compiler

configurations.  Patch by John Szakmeister.
üst 3d050ddf
......@@ -182,7 +182,7 @@ def _find_appropriate_compiler(_config_vars):
# Compiler is GCC, check if it is LLVM-GCC
data = _read_output("'%s' --version"
% (cc.replace("'", "'\"'\"'"),))
if 'llvm-gcc' in data:
if data and 'llvm-gcc' in data:
# Found LLVM-GCC, fall back to clang
cc = _find_build_tool('clang')
......
......@@ -1281,6 +1281,7 @@ Andrew Svetlov
Paul Swartz
Thenault Sylvain
Péter Szabó
John Szakmeister
Amir Szekely
Arfrever Frehtes Taifersar Arahesis
Hideaki Takahashi
......
......@@ -165,6 +165,9 @@ Library
- asyncio: Add gi_{frame,running,code} properties to CoroWrapper
(upstream issue #163).
- Issue #21311: Avoid exception in _osx_support with non-standard compiler
configurations. Patch by John Szakmeister.
Extension Modules
-----------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment