diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-19 22:06:42 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-19 22:06:42 +0000 |
commit | b4460f9280a8d2d18ce2462a01313cefb0c2c9fb (patch) | |
tree | 5bd6c520309e330574e5f093afde266c37246f0d | |
parent | 832f9227e1da51381ae5b9fb06499a564fc48ef0 (diff) | |
download | crosstool-ng-b4460f9280a8d2d18ce2462a01313cefb0c2c9fb.tar.gz crosstool-ng-b4460f9280a8d2d18ce2462a01313cefb0c2c9fb.tar.bz2 crosstool-ng-b4460f9280a8d2d18ce2462a01313cefb0c2c9fb.zip |
Backport #718 from trunk:
Fix building MPFR on distro that have strict sanity checks on libtool.m4 and ltmain.sh versions mismatch. UNTESTED!
/branches/1.1/scripts/build/mpfr.sh | 11 11 0 0 +++++++++++
1 file changed, 11 insertions(+)
-rw-r--r-- | scripts/build/mpfr.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/build/mpfr.sh b/scripts/build/mpfr.sh index c3e6a783..51651a54 100644 --- a/scripts/build/mpfr.sh +++ b/scripts/build/mpfr.sh @@ -25,6 +25,17 @@ do_mpfr() { CT_DoStep INFO "Installing MPFR" + # OK, Gentoo have a sanity check that libtool.m4 and ltmain.sh have the + # same version number. Unfortunately, some tarballs of MPFR are not + # built sanely, and thus ./configure fails on Gentoo. + # See: http://sourceware.org/ml/crossgcc/2008-05/msg00080.html + # and: http://sourceware.org/ml/crossgcc/2008-06/msg00005.html + # This hack is not bad per se, but the MPFR guys would be better to not + # do that in the future... + CT_DoLog EXTRA "Re-building configuration files" + autoreconf -fi 2>&1 |CT_DoLog ALL + libtoolize 2>&1 |CT_DoLog ALL + CT_DoLog EXTRA "Configuring MPFR" CFLAGS="${CT_CFLAGS_FOR_HOST}" \ "${CT_SRC_DIR}/${CT_MPFR_FILE}/configure" \ |