summaryrefslogtreecommitdiff
path: root/debian/patches/lldb-dont-assume-64bit-systems-are-all-x86-64.patch
blob: 366f5331ab5a178b63002d22fb14b299593b506e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: llvm-toolchain-3.8-3.8.1/lldb/cmake/modules/LLDBConfig.cmake
===================================================================
--- llvm-toolchain-3.8-3.8.1.orig/lldb/cmake/modules/LLDBConfig.cmake
+++ llvm-toolchain-3.8-3.8.1/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()