diff --git a/debian/patches/lldb-undef.diff b/debian/patches/lldb-undef.diff new file mode 100644 index 00000000..baac0d18 --- /dev/null +++ b/debian/patches/lldb-undef.diff @@ -0,0 +1,13 @@ +Index: llvm-toolchain-snapshot_3.7~svn234307/lldb/tools/lldb-server/Makefile +=================================================================== +--- llvm-toolchain-snapshot_3.7~svn234307.orig/lldb/tools/lldb-server/Makefile ++++ llvm-toolchain-snapshot_3.7~svn234307/lldb/tools/lldb-server/Makefile +@@ -12,6 +12,8 @@ TOOLNAME = lldb-server + + LLVMLibsOptions += -llldb -llldbUtility + ++USEDLIBS := LLVMSupport.a ++ + include $(LLDB_LEVEL)/Makefile + + ifeq ($(HOST_OS),Darwin) diff --git a/debian/patches/series b/debian/patches/series index 1e0a58cc..6a11a3e6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -38,3 +38,4 @@ strip-svn.diff lit-lang.diff compiler-rt-i586.diff clang-analyzer-force-version.diff +lldb-undef.diff