enable sparc support
This commit is contained in:
parent
7ea96a3fa1
commit
a993f8729c
@ -54,6 +54,10 @@ MA 02111-1307, USA. */
|
|||||||
#include "gmp-mparam-alpha.h"
|
#include "gmp-mparam-alpha.h"
|
||||||
#elif defined(__sh__)
|
#elif defined(__sh__)
|
||||||
#include "gmp-mparam-sh.h"
|
#include "gmp-mparam-sh.h"
|
||||||
|
#elif defined(__sparc__) && defined (__arch64__)
|
||||||
|
#include "gmp-mparam-sparc64.h"
|
||||||
|
#elif defined(__sparc__)
|
||||||
|
#include "gmp-mparam-sparc.h"
|
||||||
#else
|
#else
|
||||||
#error "The gmp-devel package is not usable with the architecture."
|
#error "The gmp-devel package is not usable with the architecture."
|
||||||
#endif
|
#endif
|
||||||
|
4
gmp.h
4
gmp.h
@ -55,6 +55,10 @@ MA 02111-1307, USA. */
|
|||||||
#include "gmp-alpha.h"
|
#include "gmp-alpha.h"
|
||||||
#elif defined(__sh__)
|
#elif defined(__sh__)
|
||||||
#include "gmp-sh.h"
|
#include "gmp-sh.h"
|
||||||
|
#elif defined(__sparc__) && defined (__arch64__)
|
||||||
|
#include "gmp-sparc64.h"
|
||||||
|
#elif defined(__sparc__)
|
||||||
|
#include "gmp-sparc.h"
|
||||||
#else
|
#else
|
||||||
#error "The gmp-devel package is not usable with the architecture."
|
#error "The gmp-devel package is not usable with the architecture."
|
||||||
#endif
|
#endif
|
||||||
|
5
gmp.spec
5
gmp.spec
@ -8,7 +8,7 @@
|
|||||||
Summary: A GNU arbitrary precision library
|
Summary: A GNU arbitrary precision library
|
||||||
Name: gmp
|
Name: gmp
|
||||||
Version: 4.2.2
|
Version: 4.2.2
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
URL: http://gmplib.org/
|
URL: http://gmplib.org/
|
||||||
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
|
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
|
||||||
Source2: gmp.h
|
Source2: gmp.h
|
||||||
@ -203,6 +203,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Mar 19 2008 Ivana Varekova <varekova@redhat.com> 4.2.2-7
|
||||||
- add superH support (#437688)
|
- add superH support (#437688)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user