summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-08-24 22:07:38 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-08-24 22:07:38 +0000
commit390be9fc05dd2fadb6c04827cd78716b183b5d2c (patch)
tree9b196e2edd1893a8f422aa7d9660bf407a50510d
parent23559b6ac26bc081f74fa1eb5934b9bf08c33da3 (diff)
Notes
-rw-r--r--lib/clang/libllvm/Makefile2
-rw-r--r--usr.bin/clang/lld/Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile
index 618be2d7db81..1413074b73dd 100644
--- a/lib/clang/libllvm/Makefile
+++ b/lib/clang/libllvm/Makefile
@@ -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
diff --git a/usr.bin/clang/lld/Makefile b/usr.bin/clang/lld/Makefile
index 96c2693c97d7..09cc973b15d9 100644
--- a/usr.bin/clang/lld/Makefile
+++ b/usr.bin/clang/lld/Makefile
@@ -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