diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2019-06-17 00:11:37 +0200 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2019-06-17 00:11:37 +0200 |
commit | 2974a6388b01199db027ed56cbf5133850b691ac (patch) | |
tree | 6a7ce732e033df48934cf05eb6286c5a50c46270 /config.guess | |
parent | 49b5430ecd7d09a837e50c3ef322d1f3f7121245 (diff) | |
download | gmp-2974a6388b01199db027ed56cbf5133850b691ac.tar.gz |
* config.guess: Work around upstream configfsf.guess's regression wrt
mips vs mips64.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/config.guess b/config.guess index 70a63e2e4..ca3da03cf 100755 --- a/config.guess +++ b/config.guess @@ -3,8 +3,7 @@ # GMP config.guess wrapper. -# Copyright 2000-2006, 2008, 2011-2016, 2018, 2019 Free Software Foundation, -# Inc. +# Copyright 2000-2019 Free Software Foundation, Inc. # # This file is part of the GNU MP Library. # @@ -281,6 +280,18 @@ mips-*-irix[6789]*) exact_cpu=mips64 ;; +mips-*-*) + case $(uname -m) in + mips64) exact_cpu=mips64;; + esac + ;; + +mipsel-*-*) + case $(uname -m) in + mips64) exact_cpu=mips64el;; + esac + ;; + m68k-*-*) eval $set_cc_for_build # NetBSD (and presumably other *BSD) "sysctl hw.model" gives for example |