From 2c76d6dcea7f7cc6e9b9291d549f0a69bf7bb0d5 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 3 Nov 2009 22:50:10 +0000 Subject: [PATCH] Use llvm-gcc on newer Darwins. llvm-svn: 85963 --- llvm/utils/buildit/build_llvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/buildit/build_llvm b/llvm/utils/buildit/build_llvm index 4bbd2cd9f27b..4fdc77039aae 100755 --- a/llvm/utils/buildit/build_llvm +++ b/llvm/utils/buildit/build_llvm @@ -123,7 +123,7 @@ if [ "x$RC_ProjectName" = "xllvmCore_EmbeddedHosted" ]; then PATH=$DIR/bin:$PATH # otherwise, try to use llvm-gcc if it's available -else +elif [ $DARWIN_VERS -gt 9 ]; then # If the user has set CC or CXX, respect their wishes. If not, # compile with LLVM-GCC/LLVM-G++ if available; if LLVM is not # available, fall back to usual GCC/G++ default.