mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
Better configure binutils, both for host and target.
/trunk/scripts/build/binutils.sh | 23 15 8 0 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-)
This commit is contained in:
parent
4ebe15e6b4
commit
cfdbd995e2
@ -40,7 +40,10 @@ do_binutils() {
|
|||||||
--target=${CT_TARGET} \
|
--target=${CT_TARGET} \
|
||||||
--prefix=${CT_PREFIX_DIR} \
|
--prefix=${CT_PREFIX_DIR} \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
|
--disable-multilib \
|
||||||
|
--disable-werror \
|
||||||
${binutils_opts} \
|
${binutils_opts} \
|
||||||
|
${CT_ARCH_WITH_FLOAT} \
|
||||||
${CT_BINUTILS_EXTRA_CONFIG} \
|
${CT_BINUTILS_EXTRA_CONFIG} \
|
||||||
${BINUTILS_SYSROOT_ARG} 2>&1 |CT_DoLog ALL
|
${BINUTILS_SYSROOT_ARG} 2>&1 |CT_DoLog ALL
|
||||||
|
|
||||||
@ -80,14 +83,18 @@ do_binutils_target() {
|
|||||||
CT_Pushd "${CT_BUILD_DIR}/build-binutils-for-target"
|
CT_Pushd "${CT_BUILD_DIR}/build-binutils-for-target"
|
||||||
|
|
||||||
CT_DoLog EXTRA "Configuring binutils for target"
|
CT_DoLog EXTRA "Configuring binutils for target"
|
||||||
"${CT_SRC_DIR}/${CT_BINUTILS_FILE}/configure" \
|
"${CT_SRC_DIR}/${CT_BINUTILS_FILE}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
--host=${CT_TARGET} \
|
--host=${CT_TARGET} \
|
||||||
--target=${CT_TARGET} \
|
--target=${CT_TARGET} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-shared --enable-static \
|
--disable-werror \
|
||||||
${CT_BINUTILS_EXTRA_CONFIG} \
|
--enable-shared \
|
||||||
--disable-nls 2>&1 |CT_DoLog ALL
|
--enable-static \
|
||||||
|
--disable-nls \
|
||||||
|
--disable-multilib \
|
||||||
|
${CT_ARCH_WITH_FLOAT} \
|
||||||
|
${CT_BINUTILS_EXTRA_CONFIG} 2>&1 |CT_DoLog ALL
|
||||||
|
|
||||||
build_targets=$(echo "${targets}" |sed -r -e 's/(^| +)/\1all-/g;')
|
build_targets=$(echo "${targets}" |sed -r -e 's/(^| +)/\1all-/g;')
|
||||||
install_targets=$(echo "${targets}" |sed -r -e 's/(^| +)/\1install-/g;')
|
install_targets=$(echo "${targets}" |sed -r -e 's/(^| +)/\1install-/g;')
|
||||||
|
Loading…
Reference in New Issue
Block a user