summaryrefslogtreecommitdiff
path: root/distutils/command
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2021-12-18 07:58:00 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2021-12-18 13:59:32 +0100
commit629f8ff0517d090dd6931794161d67d64673b016 (patch)
treec178566feb621f2600de45f48d412707210b765b /distutils/command
parentda15b6e30ec48a3472b518b63c63ce6363b4e1cd (diff)
downloadpython-setuptools-git-629f8ff0517d090dd6931794161d67d64673b016.tar.gz
cygwinccompiler: Split CC env var before passing to subprocess
4113bc31a8e62 added support for clang by respecting the CC env variable. The content of the env var gets passed to check_output() as the compiler executable. But CC is not just a path to an executable but a command line, such as "ccache gcc" which makes checkout_output() fail in those cases because it will try to look for "ccache gcc" in PATH instead of "ccache". To fix the issue use shlex to parse the command line before passing it to check_output().
Diffstat (limited to 'distutils/command')
0 files changed, 0 insertions, 0 deletions