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

This commit is contained in:
Dimitry Andric 2019-08-24 22:07:38 +00:00
parent 23559b6ac2
commit 390be9fc05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/clang900-import/; revision=351464
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