When cross-building with an external toolchain we still need a target strip
It is used by at least crunchide(1).
This commit is contained in:
parent
4d6481a4c9
commit
a8bed44af5
@ -1476,6 +1476,11 @@ _elftctools= lib/libelftc \
|
|||||||
# cross-build on a FreeBSD 10 host:
|
# cross-build on a FreeBSD 10 host:
|
||||||
_elftctools+= usr.bin/addr2line
|
_elftctools+= usr.bin/addr2line
|
||||||
.endif
|
.endif
|
||||||
|
.elif ${TARGET_ARCH} != ${MACHINE_ARCH} && ${MK_ELFTOOLCHAIN_TOOLS} != "no"
|
||||||
|
# If cross-building with an external binutils we still need to build strip for
|
||||||
|
# the target (for at least crunchide).
|
||||||
|
_elftctools= lib/libelftc \
|
||||||
|
usr.bin/elfcopy
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# If an full path to an external cross compiler is given, don't build
|
# If an full path to an external cross compiler is given, don't build
|
||||||
|
Loading…
Reference in New Issue
Block a user