mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-15 22:08:16 +00:00
binutils: Fix installing libiberty for target
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>
This commit is contained in:
@ -351,6 +351,10 @@ do_binutils_for_target() {
|
|||||||
extra_config+=("--disable-multilib")
|
extra_config+=("--disable-multilib")
|
||||||
fi
|
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_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")
|
||||||
|
|
||||||
CT_DoExecLog CFG \
|
CT_DoExecLog CFG \
|
||||||
|
Reference in New Issue
Block a user