tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH 6/7] Enable libedit support
---
external/apache2/llvm/bin/lldb/Makefile | 4 ++--
external/apache2/llvm/lib/liblldbCore/Makefile | 1 -
external/apache2/llvm/lib/liblldbHost/Makefile | 4 +---
external/apache2/llvm/lib/liblldbInterpreter/Makefile | 1 -
4 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/external/apache2/llvm/bin/lldb/Makefile b/external/apache2/llvm/bin/lldb/Makefile
index d9e846649371..b19e164e431c 100644
--- a/external/apache2/llvm/bin/lldb/Makefile
+++ b/external/apache2/llvm/bin/lldb/Makefile
@@ -269,9 +269,9 @@ LLVM_LIBS+= \
.include "${.PARSEDIR}/../../link.mk"
-LDADD+= -lkvm -lutil -lz
+LDADD+= -ledit -lkvm -lutil -lz
.if !defined(HOSTPROG)
-DPADD+= ${LIBKVM} ${LIBUTIL} ${LIBZ}
+DPADD+= ${LIBEDIT} ${LIBKVM} ${LIBUTIL} ${LIBZ}
.endif
TABLEGEN_SRC= \
diff --git a/external/apache2/llvm/lib/liblldbCore/Makefile b/external/apache2/llvm/lib/liblldbCore/Makefile
index b2f938dd972e..d9014ef4a6ff 100644
--- a/external/apache2/llvm/lib/liblldbCore/Makefile
+++ b/external/apache2/llvm/lib/liblldbCore/Makefile
@@ -8,7 +8,6 @@ LIB= lldbCore
CPPFLAGS+= \
-DLLDB_DISABLE_CURSES \
- -DLLDB_DISABLE_LIBEDIT \
-DLLDB_DISABLE_PYTHON
SRCS+= \
diff --git a/external/apache2/llvm/lib/liblldbHost/Makefile b/external/apache2/llvm/lib/liblldbHost/Makefile
index 31ed2a2ca1ab..00ec580c098f 100644
--- a/external/apache2/llvm/lib/liblldbHost/Makefile
+++ b/external/apache2/llvm/lib/liblldbHost/Makefile
@@ -4,12 +4,10 @@ LIB= lldbHost
.include <bsd.init.mk>
-CPPFLAGS+= \
- -DLLDB_DISABLE_LIBEDIT
-
.PATH: ${LLDB_SRCDIR}/source/Host/common
SRCS+= \
+ Editline.cpp \
FileAction.cpp \
FileCache.cpp \
File.cpp \
diff --git a/external/apache2/llvm/lib/liblldbInterpreter/Makefile b/external/apache2/llvm/lib/liblldbInterpreter/Makefile
index 59a8b411222e..0bceb21e4457 100644
--- a/external/apache2/llvm/lib/liblldbInterpreter/Makefile
+++ b/external/apache2/llvm/lib/liblldbInterpreter/Makefile
@@ -7,7 +7,6 @@ LIB= lldbInterpreter
.PATH: ${LLDB_SRCDIR}/source/Interpreter
CPPFLAGS+= \
- -DLLDB_DISABLE_LIBEDIT \
-DLLDB_DISABLE_PYTHON
SRCS+= \
--
2.26.0
Home |
Main Index |
Thread Index |
Old Index