svn commit: r321417 - head/share/mk
Ed Maste
emaste at FreeBSD.org
Mon Jul 24 15:39:10 UTC 2017
Author: emaste
Date: Mon Jul 24 15:39:09 2017
New Revision: 321417
URL: https://svnweb.freebsd.org/changeset/base/321417
Log:
lld 5.0 supports filter libraries, so enable linker feature flag
Also switch the logic to enable this for any non-lld linker, since
filter library support is fairly simple and is very likely supported
by any other linker capable of linking the FreeBSD base system.
MFC after: 2 months
MFC with: r321369
Sponsored by: The FreeBSD Foundation
Modified:
head/share/mk/bsd.linker.mk
Modified: head/share/mk/bsd.linker.mk
==============================================================================
--- head/share/mk/bsd.linker.mk Mon Jul 24 14:42:45 2017 (r321416)
+++ head/share/mk/bsd.linker.mk Mon Jul 24 15:39:09 2017 (r321417)
@@ -70,7 +70,7 @@ ${X_}LINKER_FEATURES=
.if ${${X_}LINKER_TYPE} != "bfd" || ${${X_}LINKER_VERSION} > 21750
${X_}LINKER_FEATURES+= build-id
.endif
-.if ${${X_}LINKER_TYPE} == "bfd"
+.if ${${X_}LINKER_TYPE} != "lld" || ${${X_}LINKER_VERSION} >= 50000
${X_}LINKER_FEATURES+= filter
.endif
.endif
More information about the svn-src-all
mailing list