aboutsummaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorShantonu Sen <ssen@apple.com>2009-09-02 23:52:23 +0000
committerShantonu Sen <ssen@apple.com>2009-09-02 23:52:23 +0000
commit5e869c353c01f168712ae33cb7de2e9ba5cdf658 (patch)
tree2a85171ae873e901bb439b3548fb58e85e2479d9 /Makefile.config.in
parent05bb5261d8154ec0b1bd0672beaa22c475ecc763 (diff)
Improve support for cross-hosted builds of LLVM.
--build=triple and other configure options are passed to the BuildTools/ sub-invocation more consistently git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index ecd05957d9..bb68e4c2d3 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -110,6 +110,9 @@ BUILD_EXEEXT=@BUILD_EXEEXT@
BUILD_CC=@BUILD_CC@
BUILD_CXX=@BUILD_CXX@
+# Triple for configuring build tools when cross-compiling
+BUILD_TRIPLE=@build@
+
# Target triple (cpu-vendor-os) for which we should generate code
TARGET_TRIPLE=@target@