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
This commit is contained in:
Daniel Dunbar
2010-08-03 14:26:17 +00:00
parent 779b69d6f9
commit b1247c313d
6 changed files with 17 additions and 10 deletions

7
configure vendored
View File

@@ -5017,6 +5017,11 @@ for a_target in $TARGETS_TO_BUILD; do
if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
LLVM_NATIVE_ARCHTARGET="${LLVM_NATIVE_ARCH}Target"
cat >>confdefs.h <<_ACEOF
#define LLVM_NATIVE_ARCHNAME $LLVM_NATIVE_ARCH
_ACEOF
cat >>confdefs.h <<_ACEOF
#define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCHTARGET
_ACEOF
@@ -11391,7 +11396,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 11394 "configure"
#line 11399 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H