lldb-dont-assume-64bit-systems-are-all-x86-64
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 8 Sep 2016 08:39:51 +0000 (08:39 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 8 Sep 2016 08:39:51 +0000 (08:39 +0000)
===================================================================

Gbp-Pq: Name lldb-dont-assume-64bit-systems-are-all-x86-64.patch

lldb/cmake/modules/LLDBConfig.cmake

index f5247a269822416065c0fd02d4e74096e00a60d2..e9e2fa91dd522bc0fb1069f239c50bcd2cc2d2aa 100644 (file)
@@ -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()