Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2017 22:53:11 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320250 - head/share/mk
Message-ID:  <201706222253.v5MMrBVC071599@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Jun 22 22:53:10 2017
New Revision: 320250
URL: https://svnweb.freebsd.org/changeset/base/320250

Log:
  Provide proper values for X_LINKER_TYPE/VERSION when XLD == LD.
  
  MFC after:	2 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/share/mk/bsd.linker.mk

Modified: head/share/mk/bsd.linker.mk
==============================================================================
--- head/share/mk/bsd.linker.mk	Thu Jun 22 22:53:07 2017	(r320249)
+++ head/share/mk/bsd.linker.mk	Thu Jun 22 22:53:10 2017	(r320250)
@@ -60,6 +60,10 @@ ${X_}LINKER_VERSION!=	echo "${_v:M[1-9].[0-9]*}" | \
 .undef _ld_version
 .undef _v
 .endif
+.else
+# Use LD's values
+X_LINKER_TYPE=		${LINKER_TYPE}
+X_LINKER_VERSION=	${LINKER_VERSION}
 .endif	# ${ld} == "LD" || (${ld} == "XLD" && ${XLD} != ${LD})
 
 # Export the values so sub-makes don't have to look them up again, using the



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