Build llvm-extract with -lz, and add a few objects to liblldb, both of

which turn out to be needed when you don't use -ffunction-sections.

Reported by:	Shawn Webb <shawn.webb@hardenedbsd.org>
This commit is contained in:
Dimitry Andric 2018-01-13 13:53:05 +00:00
parent c79126f2e4
commit 62bd626920
2 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ SRCS+= API/SBAttachInfo.cpp
SRCS+= API/SBBlock.cpp
SRCS+= API/SBBreakpoint.cpp
SRCS+= API/SBBreakpointLocation.cpp
SRCS+= API/SBBreakpointOptionCommon.cpp
SRCS+= API/SBBroadcaster.cpp
SRCS+= API/SBCommandInterpreter.cpp
SRCS+= API/SBCommandReturnObject.cpp
@ -47,6 +48,7 @@ SRCS+= API/SBModule.cpp
SRCS+= API/SBModuleSpec.cpp
SRCS+= API/SBPlatform.cpp
SRCS+= API/SBProcess.cpp
SRCS+= API/SBProcessInfo.cpp
SRCS+= API/SBQueue.cpp
SRCS+= API/SBQueueItem.cpp
SRCS+= API/SBSection.cpp

View File

@ -5,4 +5,6 @@ PROG_CXX= llvm-extract
SRCDIR= tools/llvm-extract
SRCS+= llvm-extract.cpp
LIBADD+= z
.include "../llvm.prog.mk"