diff options
author | Bart van der Meulen <bartvdrmeulen@gmail.com> | 2009-06-23 22:57:12 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-06-23 22:57:12 +0200 |
commit | 936286668b89d00b9ff87424c21f28f90e7b4e5f (patch) | |
tree | a478d6137353cdf95fafa65580ba6fa0f5858854 | |
parent | ecb02cb9dcbc6eb48e78cf6d2278fe6cbf65355e (diff) | |
download | crosstool-ng-936286668b89d00b9ff87424c21f28f90e7b4e5f.tar.gz crosstool-ng-936286668b89d00b9ff87424c21f28f90e7b4e5f.tar.bz2 crosstool-ng-936286668b89d00b9ff87424c21f28f90e7b4e5f.zip |
Fix MPFR build to recognise the Mingw32 case.
Once we have canadian in place, Mingw32 can be a legitimate host,
so we have to recognise that along with Cygwin.
Also fix recognising Cygwin hosts.
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
-rw-r--r-- | scripts/build/companion_libs/mpfr.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/companion_libs/mpfr.sh b/scripts/build/companion_libs/mpfr.sh index 85d09428..efca1186 100644 --- a/scripts/build/companion_libs/mpfr.sh +++ b/scripts/build/companion_libs/mpfr.sh @@ -64,7 +64,8 @@ do_mpfr() { mpfr_opt= # Under Cygwin, we can't build a thread-safe library case "${CT_HOST}" in - *-cygwin) mpfr_opt="--disable-thread-safe";; + *cygwin*) mpfr_opt="--disable-thread-safe";; + *mingw*) mpfr_opt="--disable-thread-safe";; *) mpfr_opt="--enable-thread-safe";; esac |