diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-01-30 13:16:53 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-01-30 13:16:53 (GMT) |
commit | 3ca6a9e01009e4a5dfc812bc423895a5ad92f8a2 (patch) | |
tree | 87bc96adc26a96f28a8e8bdbe94b05b0f61f9d22 /abs/extra/llvm/lldb-3.7.0-avoid-linking-to-libLLVM.patch | |
parent | a3a169ce68791d6056cbc3a46b2d0296160c9df5 (diff) | |
download | linhes_pkgbuild-3ca6a9e01009e4a5dfc812bc423895a5ad92f8a2.zip linhes_pkgbuild-3ca6a9e01009e4a5dfc812bc423895a5ad92f8a2.tar.gz linhes_pkgbuild-3ca6a9e01009e4a5dfc812bc423895a5ad92f8a2.tar.bz2 |
llvm: update to 3.7.1
Diffstat (limited to 'abs/extra/llvm/lldb-3.7.0-avoid-linking-to-libLLVM.patch')
-rw-r--r-- | abs/extra/llvm/lldb-3.7.0-avoid-linking-to-libLLVM.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/extra/llvm/lldb-3.7.0-avoid-linking-to-libLLVM.patch b/abs/extra/llvm/lldb-3.7.0-avoid-linking-to-libLLVM.patch new file mode 100644 index 0000000..f4859ed --- /dev/null +++ b/abs/extra/llvm/lldb-3.7.0-avoid-linking-to-libLLVM.patch @@ -0,0 +1,20 @@ +diff -upr lldb-3.7.0.src.orig/cmake/modules/AddLLDB.cmake lldb-3.7.0.src/cmake/modules/AddLLDB.cmake +--- lldb-3.7.0.src.orig/cmake/modules/AddLLDB.cmake 2015-09-28 11:42:23.439084000 +0300 ++++ lldb-3.7.0.src/cmake/modules/AddLLDB.cmake 2015-09-28 11:43:03.200237733 +0300 +@@ -56,7 +56,7 @@ macro(add_lldb_library name) + if (PARAM_OBJECT) + add_library(${name} ${libkind} ${srcs}) + else() +- llvm_add_library(${name} ${libkind} ${srcs}) ++ llvm_add_library(${name} ${libkind} DISABLE_LLVM_LINK_LLVM_DYLIB ${srcs}) + + lldb_link_common_libs(${name} "${libkind}") + +@@ -93,6 +93,6 @@ macro(add_lldb_library name) + endmacro(add_lldb_library) + + macro(add_lldb_executable name) +- add_llvm_executable(${name} ${ARGN}) ++ add_llvm_executable(${name} DISABLE_LLVM_LINK_LLVM_DYLIB ${ARGN}) + set_target_properties(${name} PROPERTIES FOLDER "lldb executables") + endmacro(add_lldb_executable) |