diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2016-12-29 13:40:27 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2016-12-29 13:40:27 +0300 |
commit | df36a469d77312f6dc0dccf08252542c16cf3308 (patch) | |
tree | c7089deec82cde1a5ac416aff1daadb097225ba3 /debian/patches/lldb-dont-assume-64bit-systems-are-all-x86-64.patch | |
download | llvm-toolchain-3.8-df36a469d77312f6dc0dccf08252542c16cf3308.tar.gz |
llvm-toolchain-3.8 (1:3.8.1-16)debian/3.8.1-16
Diffstat (limited to 'debian/patches/lldb-dont-assume-64bit-systems-are-all-x86-64.patch')
-rw-r--r-- | debian/patches/lldb-dont-assume-64bit-systems-are-all-x86-64.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/lldb-dont-assume-64bit-systems-are-all-x86-64.patch b/debian/patches/lldb-dont-assume-64bit-systems-are-all-x86-64.patch new file mode 100644 index 0000000..366f533 --- /dev/null +++ b/debian/patches/lldb-dont-assume-64bit-systems-are-all-x86-64.patch @@ -0,0 +1,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() + |