summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-03 14:26:17 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-03 14:26:17 +0000
commitb1247c313dc319313fffec57e7b68532cb6a2d12 (patch)
treed21615bcc03d5a7fbd51a80fd5708eeebf4be244 /autoconf
parent779b69d6f9b2184eb7617be71b33030f0306d9cd (diff)
build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target"
appended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 0924a777b4c..18c9669cc93 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -599,6 +599,8 @@ AC_SUBST(TARGETS_TO_BUILD,$TARGETS_TO_BUILD)
for a_target in $TARGETS_TO_BUILD; do
if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
LLVM_NATIVE_ARCHTARGET="${LLVM_NATIVE_ARCH}Target"
+ AC_DEFINE_UNQUOTED(LLVM_NATIVE_ARCHNAME,$LLVM_NATIVE_ARCH,
+ [Short LLVM architecture name for the native architecture, if available])
AC_DEFINE_UNQUOTED(LLVM_NATIVE_ARCH,$LLVM_NATIVE_ARCHTARGET,
[LLVM architecture name for the native architecture, if available])
fi