]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Ensure lld respects the WITH/WITHOUT_SHARED_TOOLCHAIN option
authordim <dim@FreeBSD.org>
Wed, 16 Oct 2019 17:11:18 +0000 (17:11 +0000)
committerdim <dim@FreeBSD.org>
Wed, 16 Oct 2019 17:11:18 +0000 (17:11 +0000)
commit5132a69f567afa1041b40d450511905f3de096a3
tree484e0ae0a7ae5f5da981a6b6ed58cbb0ac808995
parentec1d6a72a32c4ef00dd6a57f57236caf900fcb6e
Ensure lld respects the WITH/WITHOUT_SHARED_TOOLCHAIN option

Traditionally, toolchain components such as cc, as, and ld have been
built as static executables.  The WITH_SHARED_TOOLCHAIN option from
src.conf(5) is meant to link these as regular executables, e.g. using
shared libraries.

The build of ld.lld did not yet check this option.  Fix the Makefile so
it will do so now.

Reported by: Mike Cui <cuicui@gmail.com>
PR: 241257
MFC after: 3 days
usr.bin/clang/lld/Makefile