mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-24 04:55:45 +00:00
binutils: make symlinks in a consistent way
On the stage "core gcc pass-2" the following layout is created: 1) buildtools/bin/TARGET-{ar,as,elf2flt,flthdr,ld,ld.bfd,ranlib,strip} 2) buildtools/TARGET/bin/{ar,as,elf2flt,flthdr,ld,ld.bfd,ranlib,strip} 3) x-tools/TARGET/bin/TARGET-{ar,as,elf2flt,flthdr,ld,ld.bfd,ranlib,strip} 4) x-tools/TARGET/TARGET/bin{ar,as,elf2flt,flthdr,ld,ld.bfd,ranlib,strip} where both (1) and (2) are symlinks to (3). This effectively renders core pass-2 gcc with elf2flt linker unusable. Related elf2flt discussion: https://github.com/crosstool-ng/crosstool-ng/pull/443 Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
This commit is contained in:
parent
290ae52db3
commit
10972baa20
@ -132,7 +132,7 @@ do_binutils_for_host() {
|
||||
mkdir -p "${CT_BUILDTOOLS_PREFIX_DIR}/bin"
|
||||
for t in "${binutils_tools[@]}"; do
|
||||
CT_DoExecLog ALL ln -sv \
|
||||
"${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" \
|
||||
"${CT_PREFIX_DIR}/${CT_TARGET}/bin/${t}" \
|
||||
"${CT_BUILDTOOLS_PREFIX_DIR}/${CT_TARGET}/bin/${t}"
|
||||
CT_DoExecLog ALL ln -sv \
|
||||
"${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user