Fix build on aarch64
This commit is contained in:
parent
75b596bd9a
commit
aca9686876
File diff suppressed because it is too large
Load Diff
@ -6,10 +6,10 @@ License: GPLv2+
|
|||||||
URL: http://cyberelk.net/tim/libieee1284/
|
URL: http://cyberelk.net/tim/libieee1284/
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
||||||
Patch1: libieee1284-strict-aliasing.patch
|
Patch1: libieee1284-strict-aliasing.patch
|
||||||
Patch2: libieee1284-aarch64.patch
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
BuildRequires: libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libieee1284 library is for communicating with parallel port devices.
|
The libieee1284 library is for communicating with parallel port devices.
|
||||||
@ -27,10 +27,8 @@ developing applications that use libieee1284.
|
|||||||
# Fixed strict aliasing warnings (bug #605170).
|
# Fixed strict aliasing warnings (bug #605170).
|
||||||
%patch1 -p1 -b .strict-aliasing
|
%patch1 -p1 -b .strict-aliasing
|
||||||
|
|
||||||
# Add support for building on aarch64 (bug #925774).
|
|
||||||
%patch2 -p1 -b .aarch64
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -iv
|
||||||
touch doc/interface.xml
|
touch doc/interface.xml
|
||||||
%configure --without-python
|
%configure --without-python
|
||||||
%make_build
|
%make_build
|
||||||
|
Loading…
Reference in New Issue
Block a user