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
This commit is contained in:
parent
0850d05fc0
commit
dc4be4c458
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520455
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue