]> granicus.if.org Git - clang/commit
MachO: look for nearby tools on all MachO platforms.
authorTim Northover <tnorthover@apple.com>
Thu, 22 May 2014 13:12:14 +0000 (13:12 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 22 May 2014 13:12:14 +0000 (13:12 +0000)
commitd16325c4b1295123e361ca2d4006d44d4ba0d8d9
treea2a23112d8840ab6d9583e90455020de5ea9ed46
parentf8f06e34c7106d54a376da8596cc350fcd917cba
MachO: look for nearby tools on all MachO platforms.

This brings "-arch armv7m" (etc) behaviour more in line with what's expected
for developers on OS X, and allows Clang to find an "ld" (for example) in the
same directory instead of using the default /usr/bin/ld.

Unfortunately no test because it relies on the specific place Clang is running
from.

rdar://problem/16427320

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