mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 15:06:42 +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
|
||||||
|
|
||||||
@ -85,9 +88,13 @@ do_binutils_target() {
|
|||||||
--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