From fdb75e40ae973fbd7d6aad3a5b62dba1d66cb538 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 15 Nov 2011 18:34:17 +0000 Subject: [PATCH] build: Change default CC to be clang instead of gcc. llvm-svn: 144658 --- compiler-rt/make/platform/clang_darwin.mk | 2 +- compiler-rt/make/platform/darwin_fat.mk | 2 +- compiler-rt/make/platform/multi_arch.mk | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/compiler-rt/make/platform/clang_darwin.mk b/compiler-rt/make/platform/clang_darwin.mk index b3d36f829aa5..8011d9ce9259 100644 --- a/compiler-rt/make/platform/clang_darwin.mk +++ b/compiler-rt/make/platform/clang_darwin.mk @@ -67,7 +67,7 @@ endif ### -CC := gcc +CC := clang # Forcibly strip off any -arch, as that totally breaks our universal support. override CC := $(subst -arch ,-arch_,$(CC)) diff --git a/compiler-rt/make/platform/darwin_fat.mk b/compiler-rt/make/platform/darwin_fat.mk index 30e57a198e2e..f9ec4c3c70dc 100644 --- a/compiler-rt/make/platform/darwin_fat.mk +++ b/compiler-rt/make/platform/darwin_fat.mk @@ -37,7 +37,7 @@ UniversalArchs := i386 ppc x86_64 #