From 1dc3f2f266e869f89da29a99cbc3a28608489ba4 Mon Sep 17 00:00:00 2001 From: yangchenguang Date: Sat, 12 Aug 2023 15:54:39 +0800 Subject: [PATCH] Fix loogarch64 and sw_64 build failed Signed-off-by: yangchenguang --- oec-hardware.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/oec-hardware.spec b/oec-hardware.spec index 699aeba..416ab48 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.4 -Release: 2 +Release: 3 Group: Development/Tools License: Mulan PSL v2 URL: https://gitee.com/openeuler/oec-hardware @@ -40,7 +40,9 @@ openEuler Hardware Compatibility Test Server %patch2 -p1 %build +%ifarch x86_64 aarch64 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; @@ -80,6 +82,9 @@ DESTDIR=$RPM_BUILD_ROOT make install rm -rf /var/lock/oech.lock %changelog +* Sat Aug 12 2023 yangchenguang - 1.1.4-3 +- Fix loongarch64 and sw_64 build failed + * Fri Jun 16 2023 cuixucui - 1.1.4-2 - Fix import Secure_Filename failure -- Gitee