summaryrefslogtreecommitdiffstats
path: root/runtime/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-30 22:10:41 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-30 22:10:41 +0000
commita3d84991a8cce76bf461fbca2d700176d9a021bb (patch)
treefc961d24a46b1ef17d10e3db0d6ca7a7815c7a92 /runtime/Makefile
parentac141e61ff36ed04d5314f602536a8e4fe9a122b (diff)
Runtime: Always build compiler-rt using the Clang we just built, instead of the
system CC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/Makefile')
-rw-r--r--runtime/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/Makefile b/runtime/Makefile
index e0908e4fc6..0e8b359123 100644
--- a/runtime/Makefile
+++ b/runtime/Makefile
@@ -50,6 +50,7 @@ BuildRuntimeLibraries:
$(Verb) $(MAKE) -C $(COMPILERRT_SRC_ROOT) \
ProjSrcRoot=$(COMPILERRT_SRC_ROOT) \
ProjObjRoot=$(PROJ_OBJ_DIR) \
+ CC="$(ToolDir)/clang -no-integrated-as" \
$(RuntimeDirs:%=clang_%)
.PHONY: BuildRuntimeLibraries
CleanRuntimeLibraries: