summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
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 /cmake/config-ix.cmake
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 'cmake/config-ix.cmake')
-rwxr-xr-xcmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index d9450d92585..e3e5e8d28fa 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -207,6 +207,7 @@ else ()
endif ()
if (LLVM_NATIVE_ARCH)
+ set(LLVM_NATIVE_ARCHNAME ${LLVM_NATIVE_ARCH})
list(FIND LLVM_TARGETS_TO_BUILD ${LLVM_NATIVE_ARCH} NATIVE_ARCH_IDX)
if (NATIVE_ARCH_IDX EQUAL -1)
message(STATUS