]> granicus.if.org Git - clang/commit
Driver: Better detection of mingw-gcc
authorMartell Malone <martellmalone@gmail.com>
Tue, 18 Apr 2017 14:27:36 +0000 (14:27 +0000)
committerMartell Malone <martellmalone@gmail.com>
Tue, 18 Apr 2017 14:27:36 +0000 (14:27 +0000)
commit6730a5e41ee7ce17daecbdf29ca50071a18eb919
tree8716309822329dfd52cbf9d5e85793994bf7a2b1
parentea363d3db25fcfc735943abe5def1068d0dec394
Driver: Better detection of mingw-gcc

Stop blindly searching for "gcc.exe" on windows.
Stop assuming "/usr" on unix, fixes cross compiling.

Reviewers: mati865, yaron.keren

Subscribers: ismail, rnk

Differential revision: https://reviews.llvm.org/D15005

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300555 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/MinGW.cpp
lib/Driver/ToolChains/MinGW.h