move -fsigned-char to %build
This commit is contained in:
parent
a7ac2d89a5
commit
138d994a1f
@ -1,7 +1,7 @@
|
||||
Name: findutils
|
||||
Epoch: 2
|
||||
Version: 4.7.0
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: The GNU Find Utilities
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/findutils/
|
||||
@ -43,14 +43,14 @@ xargs - build and execute command lines from standard input
|
||||
autoreconf -fiv
|
||||
|
||||
%build
|
||||
%ifarch aarch64
|
||||
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
|
||||
%endif
|
||||
%configure
|
||||
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%ifarch aarch64
|
||||
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
|
||||
%endif
|
||||
make check
|
||||
|
||||
%install
|
||||
@ -96,6 +96,12 @@ fi
|
||||
%exclude %{_mandir}/man5/locatedb.5*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 29 2021 shixuantong <shixuantong@huawei.com> - 2:4.7.0-8
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:move -fsigned-char to %build
|
||||
|
||||
* Tue Dec 21 2021 shixuantong <shixuantong@huawei.com> - 2:4.7.0-7
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user