move -fsigned-char to %build
This commit is contained in:
parent
abf036b5d4
commit
c1f6daca1f
14
m4.spec
14
m4.spec
@ -1,6 +1,6 @@
|
|||||||
Name: m4
|
Name: m4
|
||||||
Version: 1.4.18
|
Version: 1.4.18
|
||||||
Release: 15
|
Release: 16
|
||||||
Summary: A GNU implementation of macro processor
|
Summary: A GNU implementation of macro processor
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://www.gnu.org/software/m4/
|
URL: https://www.gnu.org/software/m4/
|
||||||
@ -28,6 +28,9 @@ This package provides help document for m4.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch aarch64
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
|
||||||
|
%endif
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
%configure
|
%configure
|
||||||
%make_build
|
%make_build
|
||||||
@ -37,9 +40,6 @@ autoreconf -ivf
|
|||||||
rm -rf %{buildroot}%{_infodir}/dir
|
rm -rf %{buildroot}%{_infodir}/dir
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%ifarch aarch64
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
|
|
||||||
%endif
|
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -54,6 +54,12 @@ make check
|
|||||||
%{_infodir}/m4*
|
%{_infodir}/m4*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 29 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-16
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:move -fsigned-char to %build
|
||||||
|
|
||||||
* Tue Dec 21 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-15
|
* Tue Dec 21 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-15
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user