From: LLVM Packaging Team Date: Fri, 11 Nov 2016 15:14:31 +0000 (+0000) Subject: lldb-dont-assume-64bit-systems-are-all-x86-64 X-Git-Tag: archive/raspbian/1%3.8.1-17+rpi1~5^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=961378cfd2ef61d29a8e60b79d9fbf5e3fc70902;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()