!13 riscv64:解决-Werror=stringop-truncation构建失败
From: @laokz Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
0beaf70310
@ -1,6 +1,6 @@
|
||||
Name: libomxil-bellagio
|
||||
Version: 0.9.3
|
||||
Release: 23
|
||||
Release: 24
|
||||
Summary: OpenMAX Integration Layer
|
||||
License: LGPLv2+
|
||||
URL: http://omxil.sourceforge.net
|
||||
@ -50,6 +50,9 @@ autoreconf -vif
|
||||
|
||||
|
||||
%build
|
||||
%ifarch riscv64
|
||||
export CFLAGS="$CFLAGS -Wno-stringop-truncation"
|
||||
%endif
|
||||
%configure --disable-static
|
||||
|
||||
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
@ -101,6 +104,9 @@ install -pm 0755 test/components/resource_manager/.libs/{omxprioritytest,omxrmte
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Oct 07 2023 laokz <zhangkai@iscas.ac.cn> - 0.9.3-24
|
||||
- Workaround -Wstringop-truncation error for riscv64
|
||||
|
||||
* Sat Jul 15 2023 yaoxin <yao_xin001@hoperun.com> - 0.9.3-23
|
||||
- Fix build failure caused by gcc upgrade to 12.3.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user