summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Donnelly <mingw.android@gmail.com>2014-02-04 07:40:45 (GMT)
committerRay Donnelly <mingw.android@gmail.com>2014-02-04 07:40:45 (GMT)
commit62a1145d61825ce9996a7746ee68398b29eaae95 (patch)
tree1391400a1446e66ded0a2206ada23e288525b408
parent4f4c387543079ec48aae97623e07546ecbdff785 (diff)
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
-rw-r--r--scripts/build/binutils/binutils.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh
index d973594..4a052ad 100644
--- a/scripts/build/binutils/binutils.sh
+++ b/scripts/build/binutils/binutils.sh
@@ -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