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} \
|
||||
--prefix=${CT_PREFIX_DIR} \
|
||||
--disable-nls \
|
||||
--disable-multilib \
|
||||
--disable-werror \
|
||||
${binutils_opts} \
|
||||
${CT_ARCH_WITH_FLOAT} \
|
||||
${CT_BINUTILS_EXTRA_CONFIG} \
|
||||
${BINUTILS_SYSROOT_ARG} 2>&1 |CT_DoLog ALL
|
||||
|
||||
@ -85,9 +88,13 @@ do_binutils_target() {
|
||||
--host=${CT_TARGET} \
|
||||
--target=${CT_TARGET} \
|
||||
--prefix=/usr \
|
||||
--enable-shared --enable-static \
|
||||
${CT_BINUTILS_EXTRA_CONFIG} \
|
||||
--disable-nls 2>&1 |CT_DoLog ALL
|
||||
--disable-werror \
|
||||
--enable-shared \
|
||||
--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;')
|
||||
install_targets=$(echo "${targets}" |sed -r -e 's/(^| +)/\1install-/g;')
|
||||
|
Loading…
Reference in New Issue
Block a user