From: LLVM Packaging Team Date: Mon, 9 Jan 2017 20:24:17 +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~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=87c7595f271a551ff848931dd69e3393e39953ee;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()