Darwin: use the compiler-provided linker

When actually compiling we use clang for the final .dylib creation stage, so we
should ask it what linker it'll use when detecting support for our
architectures.

llvm-svn: 201845
This commit is contained in:
Tim Northover 2014-02-21 10:19:22 +00:00
parent 7b89f9958f
commit 23a2fb59b6
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ XCRunSdkPath = \
###
CC := $(call XCRun,clang)
LD := $(call XCRun,ld)
LD := $(shell $(CC) -print-prog-name=ld)
AR := $(call XCRun,ar)
RANLIB := $(call XCRun,ranlib)
STRIP := $(call XCRun,strip)