!6 Update the config.guess and config.sub files to support the loongarch64 architecture
From: @dpdwaj Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
89038244d9
5576
0001-update-config.guess-and-config.sub-file.patch
Normal file
5576
0001-update-config.guess-and-config.sub-file.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -44,6 +44,8 @@
|
||||
#include "libecap/common/autoconf-sparc.h"
|
||||
#elif defined(__aarch64__)
|
||||
#include "libecap/common/autoconf-aarch64.h"
|
||||
#elif defined(__loongarch64)
|
||||
#include "libecap/common/autoconf-loongarch64.h"
|
||||
#else
|
||||
#error "The libecap-devel package is not usable with the architecture."
|
||||
#endif
|
||||
|
||||
12
libecap.spec
12
libecap.spec
@ -1,6 +1,6 @@
|
||||
Name: libecap
|
||||
Version: 1.0.1
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: an loadable eCAP adapter for Squid HTTP-Proxy
|
||||
License: BSD
|
||||
URL: http://www.e-cap.org/
|
||||
@ -8,6 +8,7 @@ Source0: http://www.e-cap.org/archive/%{name}-%{version}.tar.gz
|
||||
|
||||
Source1: autoconf.h
|
||||
BuildRequires: gcc gcc-c++
|
||||
Patch0: 0001-update-config.guess-and-config.sub-file.patch
|
||||
|
||||
%description
|
||||
eCAP is a software interface that allows a network application,
|
||||
@ -27,7 +28,10 @@ BuildArch: noarch
|
||||
Help files for %{name}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
%setup -q
|
||||
%ifarch loongarch64
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -63,6 +67,10 @@ make check
|
||||
%doc README
|
||||
|
||||
%changelog
|
||||
* Fri Jan 6 2023 doupengda <doupengda@loongson.cn> 1.0.1-6
|
||||
- update config.guess and config.sub
|
||||
- fix SOURCE1 file autoconf.h '__loongarch64__' to '__loongarch64'
|
||||
|
||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.0.1-5
|
||||
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user