llvm: Move libprivatelldb to the lldb package
Set PACKAGE=lldb in lldb.pre.mk rather than in individual Makefiles; change lib/clang/Makefile.inc from PACKAGE=clang to PACKAGE?=clang to avoid overwriting it. This is safe to MFC to stable/15 since the moved library will be picked up automatically by pkg. MFC after: 2 weeks Reviewed by: emaste Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D56674
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE= clang
|
||||
PACKAGE?= clang
|
||||
MK_PIE:= no # Explicit libXXX.a references
|
||||
|
||||
.if ${MK_LLVM_FULL_DEBUGINFO} == "no"
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
LIB= lldb
|
||||
INTERNALLIB=
|
||||
.else
|
||||
PACKAGE= lldb
|
||||
SHLIB_CXX= lldb
|
||||
SHLIB_MAJOR= 21
|
||||
PRIVATELIB=
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
.include "clang.pre.mk"
|
||||
|
||||
PACKAGE= lldb
|
||||
|
||||
LLDB_SRCS= ${LLVM_BASE}/lldb
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
.include "${SRCTOP}/lib/clang/lldb.pre.mk"
|
||||
|
||||
PACKAGE= lldb
|
||||
PROG_CXX= lldb-server
|
||||
|
||||
CFLAGS+= -I${LLDB_SRCS}/include
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
.include "${SRCTOP}/lib/clang/lldb.pre.mk"
|
||||
|
||||
PACKAGE= lldb
|
||||
PROG_CXX= lldb
|
||||
|
||||
CFLAGS+= -I${LLDB_SRCS}/include
|
||||
|
||||
Reference in New Issue
Block a user