Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2017 15:39:09 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321417 - head/share/mk
Message-ID:  <201707241539.v6OFd9Ze059017@repo.freebsd.org>

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



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