Remove check for --hot and --target matching when building i586 or sparcv9
they are not the same
This commit is contained in:
parent
9ed044701f
commit
b0a5754c4c
21
gmp-4.2.4-no-host-target-check.patch
Normal file
21
gmp-4.2.4-no-host-target-check.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- gmp-4.2.4/configure.in.BAD 2009-04-09 16:57:17.000000000 -0500
|
||||
+++ gmp-4.2.4/configure.in 2009-04-09 16:57:49.000000000 -0500
|
||||
@@ -36,18 +36,6 @@
|
||||
m4_pattern_allow(GMP_NAIL_BITS)
|
||||
m4_pattern_allow(GMP_NUMB_BITS)
|
||||
|
||||
-# If --target is not used then $target_alias is empty, but if say
|
||||
-# "./configure athlon-pc-freebsd3.5" is used, then all three of
|
||||
-# $build_alias, $host_alias and $target_alias are set to
|
||||
-# "athlon-pc-freebsd3.5".
|
||||
-#
|
||||
-if test -n "$target_alias" && test "$target_alias" != "$host_alias"; then
|
||||
- AC_MSG_ERROR([--target is not appropriate for GMP
|
||||
-Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system
|
||||
-explicitly. Use --host if cross-compiling (see "Installing GMP" in the
|
||||
-manual for more on this).])
|
||||
-fi
|
||||
-
|
||||
GMP_INIT(config.m4)
|
||||
|
||||
AC_CANONICAL_HOST
|
7
gmp.spec
7
gmp.spec
@ -6,12 +6,13 @@
|
||||
Summary: A GNU arbitrary precision library
|
||||
Name: gmp
|
||||
Version: 4.2.4
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
URL: http://gmplib.org/
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
|
||||
Source2: gmp.h
|
||||
Source3: gmp-mparam.h
|
||||
Patch0: gmp-4.0.1-s390.patch
|
||||
Patch1: gmp-4.2.4-no-host-target-check.patch
|
||||
License: LGPLv3+
|
||||
Group: System Environment/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -58,6 +59,7 @@ in applications.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .s390
|
||||
%patch1 -p1 -b .no-host-target
|
||||
|
||||
%build
|
||||
autoreconf -if
|
||||
@ -196,6 +198,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Apr 09 2009 Dennis Gilmore <dennis@ausil.us> - 4.2.4-6
|
||||
- no check that --host and --target are the same when building i586 or sparcv9 they are not
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user