!18 Workaround -Wstringop-truncation error for loongarch64

From: @zhangwenlong01 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-12-02 06:07:57 +00:00 committed by Gitee
commit 626b7ffc5b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libomxil-bellagio
Version: 0.9.3
Release: 24
Release: 25
Summary: OpenMAX Integration Layer
License: LGPLv2+
URL: http://omxil.sourceforge.net
@ -50,7 +50,7 @@ autoreconf -vif
%build
%ifarch riscv64
%ifarch riscv64 loongarch64
export CFLAGS="$CFLAGS -Wno-stringop-truncation"
%endif
%configure --disable-static
@ -104,6 +104,9 @@ install -pm 0755 test/components/resource_manager/.libs/{omxprioritytest,omxrmte
%changelog
* Mon Dec 02 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 0.9.3-25
- Workaround -Wstringop-truncation error for loongarch64
* Sat Oct 07 2023 laokz <zhangkai@iscas.ac.cn> - 0.9.3-24
- Workaround -Wstringop-truncation error for riscv64