aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-25 22:12:37 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-25 22:12:37 +0000
commit460e4a5a0f597866f07d0102cd84c07cd7f01372 (patch)
tree3d6fb7a978c5a7bd1621674b19f4debf7676d062 /Makefile.rules
parent4f5b806a34d6fa15fc6bfede8ab0f4bb0f9fa133 (diff)
If LLVMCC_OPTION is unset, use LLVMGCC/LLVMGXX, for compatibility with old LLVM
checkouts. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@97172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 740e0d75..1cbd3f26 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -268,6 +268,10 @@ else
LLVMCXX := $(LLVMTOOLCURRENT)/clang++
endif
endif
+ else
+ # Compatibility with older LLVM checkouts.
+ LLVMCC := $(LLVMGCC)
+ LLVMCXX := $(LLVMGXX)
endif
endif