diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-08-23 20:21:43 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-08-23 20:21:43 +0200 |
commit | 9736a99ee9fd0465aea0c1d6c0b475a0ecdc6b95 (patch) | |
tree | e3164fb093f10b60fa8dc9f79212510b325430e8 /scripts/build/binutils | |
parent | ae715a0a3caa3b97b4f66f7f23c63d2b490838c9 (diff) | |
download | crosstool-ng-9736a99ee9fd0465aea0c1d6c0b475a0ecdc6b95.tar.gz crosstool-ng-9736a99ee9fd0465aea0c1d6c0b475a0ecdc6b95.tar.bz2 crosstool-ng-9736a99ee9fd0465aea0c1d6c0b475a0ecdc6b95.zip |
binutils/binutils: companion libraries are not used
GNU binutils does not use the companion libraries, although
./configure advertises switches for them. This is because the
configure file is shared between different packages, and is
a bit 'lax' about what it checks. See:
http://sourceware.org/ml/crossgcc/2010-08/msg00160.html
http://sourceware.org/ml/crossgcc/2010-08/msg00161.html
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/binutils')
-rw-r--r-- | scripts/build/binutils/binutils.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh index 0ef5861e..04598932 100644 --- a/scripts/build/binutils/binutils.sh +++ b/scripts/build/binutils/binutils.sh @@ -24,11 +24,6 @@ do_binutils() { CT_DoStep INFO "Installing binutils" - # If GMP and MPFR were configured, then use that, - # otherwise let binutils find the system-wide libraries, if they exist. - [ -z "${CT_GMP}" ] || extra_config+=("--with-gmp=${CT_PREFIX_DIR}") - [ -z "${CT_MPFR}" ] || extra_config+=("--with-mpfr=${CT_PREFIX_DIR}") - CT_DoLog EXTRA "Configuring binutils" CFLAGS="${CT_CFLAGS_FOR_HOST}" \ CT_DoExecLog ALL \ @@ -83,12 +78,6 @@ do_binutils_target() { install_targets+=("install-${t}") done - # If GMP and MPFR were configured, then use that - if [ "${CT_BINUTILS_TARGET_USE_GMP_MPFR}" = "y" ]; then - extra_config+=("--with-gmp=${CT_SYSROOT_DIR}/usr") - extra_config+=("--with-mpfr=${CT_SYSROOT_DIR}/usr") - fi - if [ "${#targets[@]}" -ne 0 ]; then CT_DoStep INFO "Installing binutils for target" mkdir -p "${CT_BUILD_DIR}/build-binutils-for-target" |