fix riscv build error

This commit is contained in:
s 2023-08-29 22:06:46 +08:00
parent 523765dc2f
commit a0362f224f

View File

@ -1,6 +1,6 @@
Name: diffutils Name: diffutils
Version: 3.10 Version: 3.10
Release: 1 Release: 2
Summary: A GNU collection of diff utilities Summary: A GNU collection of diff utilities
URL: http://www.gnu.org/software/diffutils/diffutils.html URL: http://www.gnu.org/software/diffutils/diffutils.html
Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz
@ -28,7 +28,7 @@ GNU Diffutils is a package of several programs related to finding differences be
autoreconf -ifv autoreconf -ifv
%build %build
%ifarch aarch64 %ifarch aarch64 riscv64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char" CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif %endif
%configure %configure
@ -56,6 +56,12 @@ cat tests/test-suite.log
%exclude %{_infodir}/dir %exclude %{_infodir}/dir
%changelog %changelog
* Tue Aug 29 2023 yoo <sunyuechi@iscas.ac.cn> - 3.10-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix riscv build error
* Wed Jul 12 2023 dillon chen <dillon.chen@gmail.com> - 3.10-1 * Wed Jul 12 2023 dillon chen <dillon.chen@gmail.com> - 3.10-1
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA