summaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2008-10-02 22:56:44 +0000
committerJim Grosbach <grosbach@apple.com>2008-10-02 22:56:44 +0000
commit673612ec72e0e246ca671a3977666424b5ed77cc (patch)
tree2030e2081eafe70baeea869342ed46d853eea8b0 /Makefile.config.in
parent597f3f8c5d5ed4a848a3b15bb75a4fce2628759c (diff)
downloadllvm-673612ec72e0e246ca671a3977666424b5ed77cc.tar.gz
llvm-673612ec72e0e246ca671a3977666424b5ed77cc.tar.bz2
llvm-673612ec72e0e246ca671a3977666424b5ed77cc.tar.xz
Add support for Canadian Cross builds where the host executables are not
runnable on the build machine. There are a few bits that need built for the build environment (TableGen). This patch builds those bits, and the associated libraries, for the build environment as well as the (usual) host environment. Thanks to Eric C. and Devang P. for pre-commit review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index 5a0dcd59c3..7f2acf2397 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -102,6 +102,11 @@ LLVM_CROSS_COMPILING=@LLVM_CROSS_COMPILING@
# tablegen call if we're cross-compiling).
BUILD_EXEEXT=@BUILD_EXEEXT@
+# Compilers for the build platflorm (mainly for tablegen
+# call if we're cross-compiling).
+BUILD_CC=@BUILD_CC@
+BUILD_CXX=@BUILD_CXX@
+
# Target triple (cpu-vendor-os) for which we should generate code
TARGET_TRIPLE=@target@