aboutsummaryrefslogtreecommitdiff
path: root/clang/runtime
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
commit4a58ced75059a2fbf8ae65f9fda18fa40fc21807 (patch)
tree730c0b5f804b43220b2cf6eecbf17897c03ebc75 /clang/runtime
parent8d65fc86c4c25a7b043d85b174bbbdcf0685f0d3 (diff)
downloadllvm-4a58ced75059a2fbf8ae65f9fda18fa40fc21807.zip
llvm-4a58ced75059a2fbf8ae65f9fda18fa40fc21807.tar.gz
llvm-4a58ced75059a2fbf8ae65f9fda18fa40fc21807.tar.bz2
Runtime: Always build compiler-rt using the Clang we just built, instead of the
system CC. llvm-svn: 107328
Diffstat (limited to 'clang/runtime')
-rw-r--r--clang/runtime/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/runtime/Makefile b/clang/runtime/Makefile
index e0908e4..0e8b359 100644
--- a/clang/runtime/Makefile
+++ b/clang/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: