diff --git a/gmp-mparam.h b/gmp-mparam.h index 5621f5d..b22136f 100644 --- a/gmp-mparam.h +++ b/gmp-mparam.h @@ -67,6 +67,14 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #include "gmp-mparam-sparc.h" #elif defined(__aarch64__) #include "gmp-mparam-aarch64.h" +#elif defined(__mips64) && defined(__MIPSEL__) +#include "gmp-mparam-mips64el.h" +#elif defined(__mips64) +#include "gmp-mparam-mips64.h" +#elif defined(__mips) && defined(__MIPSEL__) +#include "gmp-mparam-mipsel.h" +#elif defined(__mips) +#include "gmp-mparam-mips.h" #else #error "The gmp-devel package is not usable with the architecture." #endif diff --git a/gmp.h b/gmp.h index 3e0381a..9d9f0a8 100644 --- a/gmp.h +++ b/gmp.h @@ -67,6 +67,14 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #include "gmp-sparc.h" #elif defined(__aarch64__) #include "gmp-aarch64.h" +#elif defined(__mips64) && defined(__MIPSEL__) +#include "gmp-mips64el.h" +#elif defined(__mips64) +#include "gmp-mips64.h" +#elif defined(__mips) && defined(__MIPSEL__) +#include "gmp-mipsel.h" +#elif defined(__mips) +#include "gmp-mips.h" #else #error "The gmp-devel package is not usable with the architecture." #endif diff --git a/gmp.spec b/gmp.spec index bac892a..6dc97ef 100644 --- a/gmp.spec +++ b/gmp.spec @@ -6,7 +6,7 @@ Summary: A GNU arbitrary precision library Name: gmp Version: 6.0.0 -Release: 11%{?dist} +Release: 12%{?dist} Epoch: 1 URL: http://gmplib.org/ Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}a.tar.bz2 @@ -237,6 +237,9 @@ exit 0 %{_libdir}/libgmpxx.a %changelog +* Fri Sep 04 2015 Michal Toman - 1:6.0.0-12 +- Add support for MIPS architecture to gmp.h and gmp-mparam.h + * Wed Jun 17 2015 Fedora Release Engineering - 1:6.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild