Skip to content

Commit

Permalink
binutils: Fix installing libiberty for target
Browse files Browse the repository at this point in the history
If CT_BINUTILS_FOR_TARGET_IBERTY is set, then it seems that we also must
set `--enable-install-libiberty` for configure to pickup that it needs
to be installed.

This closes #302

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
  • Loading branch information
bhundven committed Jan 2, 2016
1 parent a0d58f4 commit 84486b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build/binutils/binutils.sh
Expand Up @@ -351,6 +351,10 @@ do_binutils_for_target() {
extra_config+=("--disable-multilib")
fi

if [ "${CT_BINUTILS_FOR_TARGET_IBERTY}" = "y" ]; then
extra_config+=("--enable-install-libiberty")
fi

[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")

CT_DoExecLog CFG \
Expand Down

0 comments on commit 84486b4

Please sign in to comment.