]> granicus.if.org Git - clang/commitdiff
Runtime: Always build compiler-rt using the Clang we just built, instead of the
authorDaniel Dunbar <daniel@zuster.org>
Wed, 30 Jun 2010 22:10:41 +0000 (22:10 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 30 Jun 2010 22:10:41 +0000 (22:10 +0000)
system CC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107328 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/Makefile

index e0908e4fc6b98fec0b4a9582d3dd4371521968a1..0e8b359123b18123b657a44cf8f54f63ee704572 100644 (file)
@@ -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: