From: LLVM Packaging Team Date: Tue, 25 Apr 2017 17:46:34 +0000 (+0000) Subject: lldb-dont-assume-64bit-systems-are-all-x86-64 X-Git-Tag: archive/raspbian/1%3.8.1-23+rpi1~3^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=99fbe72b5c5e2d597be23bf1d9acec4f2b5189d1;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()