Date: Mon, 1 Jan 2018 20:16:39 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457794 - head/Mk Message-ID: <201801012016.w01KGdhJ026749@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Jan 1 20:16:39 2018 New Revision: 457794 URL: https://svnweb.freebsd.org/changeset/ports/457794 Log: bsd.port.mk: don't create a new variable just to check LLD PR: 224760 Approved by: portmgr (antoine) Modified: head/Mk/bsd.port.mk (contents, props changed) Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Mon Jan 1 20:01:08 2018 (r457793) +++ head/Mk/bsd.port.mk Mon Jan 1 20:16:39 2018 (r457794) @@ -1833,8 +1833,7 @@ PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PKG_ORIGIN} .include "${PORTSDIR}/Mk/bsd.gcc.mk" .endif -_TEST_LD=/usr/bin/ld -.if defined(LLD_UNSAFE) && ${_TEST_LD:tA} == "/usr/bin/ld.lld" +.if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld LDFLAGS+= -fuse-ld=bfd . if !defined(USE_BINUTILS) . if exists(/usr/bin/ld.bfd)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801012016.w01KGdhJ026749>