Workaround -Wstringop-truncation error for loongarch64

(cherry picked from commit c57710b32d453f6e2314550e4942029465650e5c)
This commit is contained in:
Wenlong Zhang 2024-12-02 09:39:50 +08:00 committed by openeuler-sync-bot
parent 0beaf70310
commit 522fc42b27

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