enable sparc support

This commit is contained in:
Tom Callaway 2008-04-24 21:50:18 +00:00
parent 7ea96a3fa1
commit a993f8729c
3 changed files with 12 additions and 1 deletions

View File

@ -54,6 +54,10 @@ MA 02111-1307, USA. */
#include "gmp-mparam-alpha.h"
#elif defined(__sh__)
#include "gmp-mparam-sh.h"
#elif defined(__sparc__) && defined (__arch64__)
#include "gmp-mparam-sparc64.h"
#elif defined(__sparc__)
#include "gmp-mparam-sparc.h"
#else
#error "The gmp-devel package is not usable with the architecture."
#endif

4
gmp.h
View File

@ -55,6 +55,10 @@ MA 02111-1307, USA. */
#include "gmp-alpha.h"
#elif defined(__sh__)
#include "gmp-sh.h"
#elif defined(__sparc__) && defined (__arch64__)
#include "gmp-sparc64.h"
#elif defined(__sparc__)
#include "gmp-sparc.h"
#else
#error "The gmp-devel package is not usable with the architecture."
#endif

View File

@ -8,7 +8,7 @@
Summary: A GNU arbitrary precision library
Name: gmp
Version: 4.2.2
Release: 7%{?dist}
Release: 8%{?dist}
URL: http://gmplib.org/
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
Source2: gmp.h
@ -203,6 +203,9 @@ exit 0
%changelog
* Thu Apr 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.2.2-8
- add sparc/sparc64 support
* Wed Mar 19 2008 Ivana Varekova <varekova@redhat.com> 4.2.2-7
- add superH support (#437688)