Add riscv64 support

This commit is contained in:
U2FsdGVkX1 2024-02-21 13:33:37 +08:00
parent cc08b01365
commit 3a7ee4c6c9
2 changed files with 10 additions and 1 deletions

View File

@ -44,6 +44,12 @@
#include "libecap/common/autoconf-sparc.h"
#elif defined(__aarch64__)
#include "libecap/common/autoconf-aarch64.h"
#elif defined(__riscv)
#if __riscv_xlen == 64
#include "libecap/common/autoconf-riscv64.h"
#else
#include "libecap/common/autoconf-riscv32.h"
#endif
#else
#error "The libecap-devel package is not usable with the architecture."
#endif

View File

@ -1,6 +1,6 @@
Name: libecap
Version: 1.0.1
Release: 16%{?dist}
Release: 17%{?dist}
Summary: Squid interface for embedded adaptation modules
License: BSD-2-Clause
URL: http://www.e-cap.org/
@ -65,6 +65,9 @@ install -pm644 %{SOURCE1} %{buildroot}%{_includedir}/%{name}/common/autoconf.h
%{_includedir}/libecap
%changelog
* Wed Feb 21 2024 Songsong Zhang <U2FsdGVkX1@gmail.com> - 1.0.1-17
- Add riscv64 support
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild