summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-06-23 19:31:59 +0000
committerEd Schouten <ed@FreeBSD.org>2009-06-23 19:31:59 +0000
commitf76359690a7035ad21498f2ba6be6991d3b2032d (patch)
tree2db4127ea6c69f2548de6981658579fddd794448 /autoconf
parent0408e1d309a743aca4ed4592cf2c712a71537901 (diff)
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index bd05891a9dc7..0abe2347957d 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -447,7 +447,8 @@ AC_SUBST(TARGETS_TO_BUILD,$TARGETS_TO_BUILD)
# If so, define LLVM_NATIVE_ARCH to that LLVM target.
for a_target in $TARGETS_TO_BUILD; do
if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
- AC_DEFINE_UNQUOTED(LLVM_NATIVE_ARCH,$LLVM_NATIVE_ARCH,
+ LLVM_NATIVE_ARCHTARGET="${LLVM_NATIVE_ARCH}Target"
+ AC_DEFINE_UNQUOTED(LLVM_NATIVE_ARCH,$LLVM_NATIVE_ARCHTARGET,
[LLVM architecture name for the native architecture, if available])
fi
done