Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2019 22:07:39 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r351464 - in projects/clang900-import: lib/clang/libllvm usr.bin/clang/lld
Message-ID:  <201908242207.x7OM7dWW063520@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Aug 24 22:07:38 2019
New Revision: 351464
URL: https://svnweb.freebsd.org/changeset/base/351464

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

Modified:
  projects/clang900-import/lib/clang/libllvm/Makefile
  projects/clang900-import/usr.bin/clang/lld/Makefile

Modified: projects/clang900-import/lib/clang/libllvm/Makefile
==============================================================================
--- projects/clang900-import/lib/clang/libllvm/Makefile	Sat Aug 24 21:04:29 2019	(r351463)
+++ projects/clang900-import/lib/clang/libllvm/Makefile	Sat Aug 24 22:07:38 2019	(r351464)
@@ -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

Modified: projects/clang900-import/usr.bin/clang/lld/Makefile
==============================================================================
--- projects/clang900-import/usr.bin/clang/lld/Makefile	Sat Aug 24 21:04:29 2019	(r351463)
+++ projects/clang900-import/usr.bin/clang/lld/Makefile	Sat Aug 24 22:07:38 2019	(r351464)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908242207.x7OM7dWW063520>