Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2019 01:14:23 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520455 - head/Mk
Message-ID:  <201912200114.xBK1ENuv078596@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb (src,doc committer)
Date: Fri Dec 20 01:14:23 2019
New Revision: 520455
URL: https://svnweb.freebsd.org/changeset/ports/520455

Log:
  Include the tool name for toolchain variables when using CROSS_TOOLCHAIN.
  
  Previously variables such as AS, LD, etc. were only set to the path
  but not the tool itself due to a typo.
  
  Approved by:	portmgr (bapt)
  Differential Revision:	https://reviews.freebsd.org/D22593

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Fri Dec 20 01:11:41 2019	(r520454)
+++ head/Mk/bsd.port.mk	Fri Dec 20 01:14:23 2019	(r520455)
@@ -1082,7 +1082,7 @@ CC=		${XCC} --sysroot=${CROSS_SYSROOT}
 CXX=		${XCXX} --sysroot=${CROSS_SYSROOT}
 CPP=		${XCPP} --sysroot=${CROSS_SYSROOT}
 .for _tool in AS AR LD NM OBJCOPY RANLIB SIZE STRINGS
-${_tool}=	${CROSS_BINUTILS_PREFIX}${tool:tl}
+${_tool}=	${CROSS_BINUTILS_PREFIX}${_tool:tl}
 .endfor
 LD+=		--sysroot=${CROSS_SYSROOT}
 STRIP_CMD=	${CROSS_BINUTILS_PREFIX}strip



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