From 2e34993bb3324b2c8b5af4b28c1e19ea357f9318 Mon Sep 17 00:00:00 2001 From: s Date: Sat, 13 May 2023 16:37:25 +0800 Subject: [PATCH] fix riscv build --- oec-hardware.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/oec-hardware.spec b/oec-hardware.spec index 504e8cf..c108e98 100644 --- a/oec-hardware.spec +++ b/oec-hardware.spec @@ -4,7 +4,7 @@ Name: oec-hardware Summary: openEuler Hardware Compatibility Test Suite Version: 1.1.3 -Release: 3 +Release: 4 Group: Development/Tools License: Mulan PSL v2 URL: https://gitee.com/openeuler/oec-hardware @@ -42,7 +42,9 @@ openEuler Hardware Compatibility Test Server %patch3 -p1 %build -strip tests/keycard/libswsds_%{_arch}.so +%ifnarch riscv64 + strip tests/keycard/libswsds_%{_arch}.so +%endif sed -i '15i CFLAGS+=-g -fstack-protector-strong' tests/memory/Makefile [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; @@ -82,6 +84,9 @@ DESTDIR=$RPM_BUILD_ROOT make install rm -rf /var/lock/oech.lock %changelog +* Sat May 13 2023 yoo - 1.1.3-4 +- fix riscv build + * Tue Dec 13 2022 liqiang - 1.1.3-3 - Fix libswsds.so not stripped - Fix the value of kernel.src obtained by the kabi test case is incorrect -- Gitee