Use upstream config.sub and config.guess to support aarch64 (#926278)

This commit is contained in:
Ondřej Vašík 2013-03-25 10:25:57 +01:00
parent b8c3ad7e4f
commit f4e39fec4c
3 changed files with 3329 additions and 0 deletions

1534
config.guess vendored Normal file

File diff suppressed because it is too large Load Diff

1788
config.sub vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,12 @@ Release: 41%{?dist}
Requires: sgml-common
URL: http://openjade.sourceforge.net/
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
#config.sub and config.guess from upstream sources (Mar 25th 2013).
#http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
#http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
#I can't get them from autoreconf, because of the very strange openjade structure of config files
Source2:config.guess
Source3:config.sub
#fix build on ppc64
Patch0: openjade-ppc64.patch
#do not link against -lnsl
@ -47,6 +53,7 @@ XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
%build
cp -p %{SOURCE2} %{SOURCE3} config/
%configure --disable-static --datadir=%{_datadir}/sgml/%{name}-%{version} \
--enable-splibdir=%{_libdir}
make