From e7d1f1e09e1d9a1a97c61871d74346ef15053db3 Mon Sep 17 00:00:00 2001 From: s Date: Wed, 19 Jul 2023 17:11:20 +0800 Subject: [PATCH] add riscv support --- autoconf.h | 2 ++ libecap.spec | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/autoconf.h b/autoconf.h index 30bb753..a42c801 100644 --- a/autoconf.h +++ b/autoconf.h @@ -46,6 +46,8 @@ #include "libecap/common/autoconf-aarch64.h" #elif defined(__loongarch64) #include "libecap/common/autoconf-loongarch64.h" +#elif defined(__riscv) +#include "libecap/common/autoconf-riscv64.h" #else #error "The libecap-devel package is not usable with the architecture." #endif diff --git a/libecap.spec b/libecap.spec index 8e10717..8ab027a 100644 --- a/libecap.spec +++ b/libecap.spec @@ -1,6 +1,6 @@ Name: libecap Version: 1.0.1 -Release: 6 +Release: 7 Summary: an loadable eCAP adapter for Squid HTTP-Proxy License: BSD URL: http://www.e-cap.org/ @@ -29,7 +29,7 @@ Help files for %{name} %prep %setup -q -%ifarch loongarch64 +%ifarch loongarch64 riscv64 %patch0 -p1 %endif @@ -67,6 +67,9 @@ make check %doc README %changelog +* Wed Jul 19 2023 yoo - 1.0.1-7 +- add riscv support + * Fri Jan 6 2023 doupengda 1.0.1-6 - update config.guess and config.sub - fix SOURCE1 file autoconf.h '__loongarch64__' to '__loongarch64' -- Gitee