[llvm-branch-commits] [cfe-branch] r123047 - /cfe/branches/Apple/whitney-IB/ClangBNI.mk

Eric Christopher echristo at apple.com
Fri Jan 7 16:53:33 PST 2011


Author: echristo
Date: Fri Jan  7 18:53:33 2011
New Revision: 123047

URL: http://llvm.org/viewvc/llvm-project?rev=123047&view=rev
Log:
Allow building with a clang that doesn't have an actual version string.

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

Modified: cfe/branches/Apple/whitney-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney-IB/ClangBNI.mk?rev=123047&r1=123046&r2=123047&view=diff
==============================================================================
--- cfe/branches/Apple/whitney-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/whitney-IB/ClangBNI.mk Fri Jan  7 18:53:33 2011
@@ -243,10 +243,12 @@
 	    -e "s@\$$@-@" | \
 	cut -d- -f2 | \
 	cut -d. -f1)
+ifneq (x$(SysClangMajorBuildVersion),x)
 ifeq ($(shell test $(SysClangMajorBuildVersion) -ge 115 && echo OK),OK)
 CC := /Developer/usr/bin/clang
 CXX := /Developer/usr/bin/clang++
 endif
+endif
 
 # Set stage1 compiler.
 Stage1_CC := $(CC)





More information about the llvm-branch-commits mailing list