From: LLVM Packaging Team Date: Sun, 12 Mar 2017 08:49:18 +0000 (+0000) Subject: lldb-dont-assume-64bit-systems-are-all-x86-64 X-Git-Tag: archive/raspbian/1%3.8.1-18+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b24c04a95b72aad8b15466c22f0083a91af5b57b;p=llvm-toolchain-3.8.git lldb-dont-assume-64bit-systems-are-all-x86-64 =================================================================== Gbp-Pq: Name lldb-dont-assume-64bit-systems-are-all-x86-64.patch --- diff --git a/lldb/cmake/modules/LLDBConfig.cmake b/lldb/cmake/modules/LLDBConfig.cmake index b816313c..4c73dfea 100644 --- a/lldb/cmake/modules/LLDBConfig.cmake +++ b/lldb/cmake/modules/LLDBConfig.cmake @@ -165,13 +165,6 @@ function(find_python_libs_windows) endfunction(find_python_libs_windows) if (NOT LLDB_DISABLE_PYTHON) - if(UNIX) - # This is necessary for crosscompile on Ubuntu 14.04 64bit. Need a proper fix. - if(CMAKE_SIZEOF_VOID_P EQUAL 8) - set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") - endif() - endif() - if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") find_python_libs_windows()