diff options
author | Sebastian Pop <spop@codeaurora.org> | 2012-01-05 18:28:46 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2012-01-05 18:28:46 +0000 |
commit | 6e9b5eb51bb623995c90295d265a7682277653a1 (patch) | |
tree | c333ba442ddedfb74ac79b9a5f8541e2d0f3fafb /cmake | |
parent | 0fcccd4d45b593bc11e56ff5be36a04836749376 (diff) |
revert r147542 after comments from Joerg Sonnenberger
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index 4ee433ae94..b380a48637 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -288,16 +288,13 @@ include(CheckCXXCompilerFlag) check_cxx_compiler_flag("-Wno-variadic-macros" SUPPORTS_NO_VARIADIC_MACROS_FLAG) include(GetTargetTriple) -get_target_triple(LLVM_HOST_TRIPLE) get_target_triple(LLVM_DEFAULT_TARGET_TRIPLE) -set(HOST_TRIPLE "${LLVM_HOST_TRIPLE}") set(TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}") # Determine the native architecture. string(TOLOWER "${LLVM_TARGET_ARCH}" LLVM_NATIVE_ARCH) if( LLVM_NATIVE_ARCH STREQUAL "host" ) - string(REGEX MATCH "^[^-]*" LLVM_NATIVE_ARCH ${LLVM_HOST_TRIPLE}) string(REGEX MATCH "^[^-]*" LLVM_NATIVE_ARCH ${LLVM_DEFAULT_TARGET_TRIPLE}) endif () |