diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-03 14:26:17 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-03 14:26:17 +0000 |
commit | b1247c313dc319313fffec57e7b68532cb6a2d12 (patch) | |
tree | d21615bcc03d5a7fbd51a80fd5708eeebf4be244 /autoconf/configure.ac | |
parent | 779b69d6f9b2184eb7617be71b33030f0306d9cd (diff) | |
download | external_llvm-b1247c313dc319313fffec57e7b68532cb6a2d12.zip external_llvm-b1247c313dc319313fffec57e7b68532cb6a2d12.tar.gz external_llvm-b1247c313dc319313fffec57e7b68532cb6a2d12.tar.bz2 |
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/configure.ac')
-rw-r--r-- | autoconf/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 0924a77..18c9669 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 |