Use llvm-gcc on newer Darwins.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2009-11-03 22:50:10 +00:00
parent bb443af6dd
commit 7fc4026d97

View File

@@ -123,7 +123,7 @@ if [ "x$RC_ProjectName" = "xllvmCore_EmbeddedHosted" ]; then
PATH=$DIR/bin:$PATH PATH=$DIR/bin:$PATH
# otherwise, try to use llvm-gcc if it's available # 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, # 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 # compile with LLVM-GCC/LLVM-G++ if available; if LLVM is not
# available, fall back to usual GCC/G++ default. # available, fall back to usual GCC/G++ default.