fix riscv64 arch autoconf.h include path

This commit is contained in:
wangyangdahai 2023-07-02 13:51:47 +08:00 committed by laokz
parent 89038244d9
commit 5974af342d
2 changed files with 6 additions and 1 deletions

View File

@ -46,6 +46,8 @@
#include "libecap/common/autoconf-aarch64.h" #include "libecap/common/autoconf-aarch64.h"
#elif defined(__loongarch64) #elif defined(__loongarch64)
#include "libecap/common/autoconf-loongarch64.h" #include "libecap/common/autoconf-loongarch64.h"
#elif defined(__riscv)
#include "libecap/common/autoconf-riscv64.h"
#else #else
#error "The libecap-devel package is not usable with the architecture." #error "The libecap-devel package is not usable with the architecture."
#endif #endif

View File

@ -1,6 +1,6 @@
Name: libecap Name: libecap
Version: 1.0.1 Version: 1.0.1
Release: 6 Release: 7
Summary: an loadable eCAP adapter for Squid HTTP-Proxy Summary: an loadable eCAP adapter for Squid HTTP-Proxy
License: BSD License: BSD
URL: http://www.e-cap.org/ URL: http://www.e-cap.org/
@ -67,6 +67,9 @@ make check
%doc README %doc README
%changelog %changelog
* Mon Jul 03 2023 wangyangdahai <wangyang22@iscas.ac.cn> - 1.0.1-7
- fix riscv64 arch autoconf.h include path
* Fri Jan 6 2023 doupengda <doupengda@loongson.cn> 1.0.1-6 * Fri Jan 6 2023 doupengda <doupengda@loongson.cn> 1.0.1-6
- update config.guess and config.sub - update config.guess and config.sub
- fix SOURCE1 file autoconf.h '__loongarch64__' to '__loongarch64' - fix SOURCE1 file autoconf.h '__loongarch64__' to '__loongarch64'