mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-17 06:48:16 +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:
@ -106,13 +106,13 @@ do_binutils_for_host() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Make those new tools available to the core C compilers to come.
|
# Make those new tools available to the core C compilers to come.
|
||||||
# Note: some components want the ${TARGET}-{ar,as,ld,strip} commands as
|
# Note: some components want the ${TARGET}-{ar,as,ld,ranlib,strip} commands
|
||||||
# well. Create that.
|
# as well. Create that.
|
||||||
# Don't do it for canadian or cross-native, because the binutils
|
# Don't do it for canadian or cross-native, because the binutils
|
||||||
# are not executable on the build machine.
|
# are not executable on the build machine.
|
||||||
case "${CT_TOOLCHAIN_TYPE}" in
|
case "${CT_TOOLCHAIN_TYPE}" in
|
||||||
cross|native)
|
cross|native)
|
||||||
binutils_tools=( ar as ld strip )
|
binutils_tools=( ar as ld ranlib strip )
|
||||||
if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
|
if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
|
||||||
binutils_tools+=( elf2flt flthdr )
|
binutils_tools+=( elf2flt flthdr )
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user