Date: Fri, 6 Jan 2017 23:05:29 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r311565 - in head: tools/build/mk usr.bin/clang/llvm-ar Message-ID: <201701062305.v06N5TWU039128@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Fri Jan 6 23:05:29 2017 New Revision: 311565 URL: https://svnweb.freebsd.org/changeset/base/311565 Log: Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When invoked as llvm-ranlib, it can create an archive symbol table for archives of objects compiled for LTO by an LLVM compiler. Submitted by: Dan McGregor <danismostlikely@gmail.com> MFC after: 3 days Modified: head/tools/build/mk/OptionalObsoleteFiles.inc head/usr.bin/clang/llvm-ar/Makefile Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ============================================================================== --- head/tools/build/mk/OptionalObsoleteFiles.inc Fri Jan 6 22:46:02 2017 (r311564) +++ head/tools/build/mk/OptionalObsoleteFiles.inc Fri Jan 6 23:05:29 2017 (r311565) @@ -1489,6 +1489,7 @@ OLD_FILES+=usr/bin/llvm-lto OLD_FILES+=usr/bin/llvm-mc OLD_FILES+=usr/bin/llvm-nm OLD_FILES+=usr/bin/llvm-pdbdump +OLD_FILES+=usr/bin/llvm-ranlib OLD_FILES+=usr/bin/llvm-rtdyld OLD_FILES+=usr/bin/llvm-symbolizer OLD_FILES+=usr/bin/opt Modified: head/usr.bin/clang/llvm-ar/Makefile ============================================================================== --- head/usr.bin/clang/llvm-ar/Makefile Fri Jan 6 22:46:02 2017 (r311564) +++ head/usr.bin/clang/llvm-ar/Makefile Fri Jan 6 23:05:29 2017 (r311565) @@ -7,4 +7,6 @@ SRCS+= llvm-ar.cpp LIBADD+= z +LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib + .include "../llvm.prog.mk"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701062305.v06N5TWU039128>