mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 13:47:48 +00:00
binutils: Added ranlib to tools list
so that it is available to available to the core C compiler build because static libraries are built and ranlib is used on them. Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Message-Id: <CAOYw7dt=+DdnKAHNShfs6a+=7sS+DLQYkyxnQMAwmw7E7zqvgA@mail.gmail.com> Patchwork-Id: 316477
This commit is contained in:
parent
4f4c387543
commit
62a1145d61
@ -106,13 +106,13 @@ do_binutils_for_host() {
|
||||
fi
|
||||
|
||||
# Make those new tools available to the core C compilers to come.
|
||||
# Note: some components want the ${TARGET}-{ar,as,ld,strip} commands as
|
||||
# well. Create that.
|
||||
# Note: some components want the ${TARGET}-{ar,as,ld,ranlib,strip} commands
|
||||
# as well. Create that.
|
||||
# Don't do it for canadian or cross-native, because the binutils
|
||||
# are not executable on the build machine.
|
||||
case "${CT_TOOLCHAIN_TYPE}" in
|
||||
cross|native)
|
||||
binutils_tools=( ar as ld strip )
|
||||
binutils_tools=( ar as ld ranlib strip )
|
||||
if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
|
||||
binutils_tools+=( elf2flt flthdr )
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user