[llvm-branch-commits] [cfe-branch] r151572 - /cfe/branches/Apple/palisade-IB/ClangBNI.mk

Daniel Dunbar daniel at zuster.org
Mon Feb 27 13:38:45 PST 2012


Author: ddunbar
Date: Mon Feb 27 15:38:44 2012
New Revision: 151572

URL: http://llvm.org/viewvc/llvm-project?rev=151572&view=rev
Log:
build: Use clang from /Developer if we didn't find an alternate.

Modified:
    cfe/branches/Apple/palisade-IB/ClangBNI.mk

Modified: cfe/branches/Apple/palisade-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/palisade-IB/ClangBNI.mk?rev=151572&r1=151571&r2=151572&view=diff
==============================================================================
--- cfe/branches/Apple/palisade-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/palisade-IB/ClangBNI.mk Mon Feb 27 15:38:44 2012
@@ -226,6 +226,12 @@
 CC := $(shell xcrun -find clang)
 CXX := $(shell xcrun -find clang++)
 
+# Use the /Developer versions if we didn't find a Clang compiler.
+ifeq ($(CC),)
+CC := /Developer/usr/bin/clang
+CXX := /Developer/usr/bin/clang++
+endif
+
 # Set stage1 compiler.
 Stage1_CC := $(CC)
 Stage1_CXX := $(CXX)





More information about the llvm-branch-commits mailing list