Update build glue for a build of clang plus lld (enabled via MK_LLD).

This commit is contained in:
dim 2019-08-24 22:07:38 +00:00
parent 517d38705d
commit a55b60f01d
2 changed files with 3 additions and 2 deletions

View File

@ -847,7 +847,7 @@ SRCS_MIN+= Support/MemoryBuffer.cpp
SRCS_MIN+= Support/Mutex.cpp
SRCS_MIN+= Support/NativeFormatting.cpp
SRCS_MIN+= Support/Optional.cpp
#SRCS_LLD+= Support/Parallel.cpp
SRCS_LLD+= Support/Parallel.cpp
SRCS_MIN+= Support/Path.cpp
SRCS_MIN+= Support/PluginLoader.cpp
SRCS_MIN+= Support/PrettyStackTrace.cpp

View File

@ -23,6 +23,7 @@ CFLAGS+= -I${OBJTOP}/lib/clang/libllvm
SRCDIR= tools/lld
SRCS+= Common/Args.cpp
SRCS+= Common/ErrorHandler.cpp
SRCS+= Common/Filesystem.cpp
SRCS+= Common/Memory.cpp
SRCS+= Common/Reproduce.cpp
SRCS+= Common/Strings.cpp
@ -49,7 +50,6 @@ SRCS+= ELF/DWARF.cpp
SRCS+= ELF/Driver.cpp
SRCS+= ELF/DriverUtils.cpp
SRCS+= ELF/EhFrame.cpp
SRCS+= ELF/Filesystem.cpp
SRCS+= ELF/ICF.cpp
SRCS+= ELF/InputFiles.cpp
SRCS+= ELF/InputSection.cpp
@ -96,6 +96,7 @@ TGHDRS+= ${INCFILE}
DPSRCS+= ${TGHDRS}
CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}
LIBADD+= execinfo
LIBADD+= ncursesw
LIBADD+= pthread
LIBADD+= z