aboutsummaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-07-26 21:14:56 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-07-26 21:14:56 +0000
commite2cfe5d23225fa74febd5f170b919bba2c495308 (patch)
tree0e8257b0dbd76f6e8000c423c8b3c04b48534a7f /Makefile.config.in
parent7686b57803b39c93c3da3dc77469e18f0bf04f2a (diff)
For PR814:
Provide support for making cross-compiling builds. See the PR for details. Patch provided by Anton Korobeynikov. Thanks, Anton! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index d1efb2b437..feaf81544d 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -97,6 +97,13 @@ OS=@OS@
# Target hardware architecture
ARCH=@ARCH@
+# Indicates, whether we're cross-compiling LLVM or not
+LLVM_CROSS_COMPILING=@LLVM_CROSS_COMPILING@
+
+# Executable file extension for build platform (mainly for
+# tablegen call if we're cross-compiling).
+BUILD_EXEEXT=@BUILD_EXEEXT@
+
# Target triple (cpu-vendor-os) for which we should generate code
TARGET_TRIPLE=@target@
@@ -214,10 +221,10 @@ ENABLE_THREADS := @ENABLE_THREADS@
# Enable JIT for this platform
TARGET_HAS_JIT = @TARGET_HAS_JIT@
-# Shared library extension for this platform.
+# Shared library extension for host platform.
SHLIBEXT = @SHLIBEXT@
-# Executable file extension for this platform.
+# Executable file extension for host platform.
EXEEXT = @EXEEXT@
# Things we just assume are "there"