svn commit: r331750 - stable/11/share/mk

Ed Maste emaste at FreeBSD.org
Fri Mar 30 00:10:40 UTC 2018


Author: emaste
Date: Fri Mar 30 00:10:39 2018
New Revision: 331750
URL: https://svnweb.freebsd.org/changeset/base/331750

Log:
  MFC r321417: enable filter lib linker feature flag for lld 5.0+
  
  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.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/11/share/mk/bsd.linker.mk
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/mk/bsd.linker.mk
==============================================================================
--- stable/11/share/mk/bsd.linker.mk	Thu Mar 29 22:31:14 2018	(r331749)
+++ stable/11/share/mk/bsd.linker.mk	Fri Mar 30 00:10:39 2018	(r331750)
@@ -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-stable mailing list