Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2018 00:10:39 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331750 - stable/11/share/mk
Message-ID:  <201803300010.w2U0AdbA020363@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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