Remove check for --hot and --target matching when building i586 or sparcv9

they are not the same
This commit is contained in:
Dennis Gilmore 2009-04-09 22:02:54 +00:00
parent 9ed044701f
commit b0a5754c4c
2 changed files with 27 additions and 1 deletions

View 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

View File

@ -6,12 +6,13 @@
Summary: A GNU arbitrary precision library Summary: A GNU arbitrary precision library
Name: gmp Name: gmp
Version: 4.2.4 Version: 4.2.4
Release: 5%{?dist} Release: 6%{?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
Source3: gmp-mparam.h Source3: gmp-mparam.h
Patch0: gmp-4.0.1-s390.patch Patch0: gmp-4.0.1-s390.patch
Patch1: gmp-4.2.4-no-host-target-check.patch
License: LGPLv3+ License: LGPLv3+
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -58,6 +59,7 @@ in applications.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .s390 %patch0 -p1 -b .s390
%patch1 -p1 -b .no-host-target
%build %build
autoreconf -if autoreconf -if
@ -196,6 +198,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild