Add support for MIPS architecture to gmp.h and gmp-mparam.h

This commit is contained in:
Michal Toman 2015-09-04 13:54:45 +02:00 committed by Frantisek Kluknavsky
parent 20a1324e12
commit af9a9c9663
3 changed files with 20 additions and 1 deletions

View File

@ -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

8
gmp.h
View File

@ -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

View File

@ -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 <mtoman@fedoraproject.org> - 1:6.0.0-12
- Add support for MIPS architecture to gmp.h and gmp-mparam.h
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:6.0.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild