add build options for i686

This commit is contained in:
zhangpan 2023-04-11 06:35:48 +00:00
parent 0651d69d70
commit 808443661a

View File

@ -1,6 +1,6 @@
Name: libX11 Name: libX11
Version: 1.8.1 Version: 1.8.1
Release: 3 Release: 4
Summary: Core X11 protocol client library Summary: Core X11 protocol client library
License: MIT License: MIT
URL: http://www.x.org URL: http://www.x.org
@ -35,7 +35,11 @@ The %{name}-devel package contains libraries and header files for %{name}.
%build %build
autoreconf -ivf autoreconf -ivf
%if 0%{?build_cross} == 1
%configure --disable-silent-rules --enable-malloc0returnsnull --disable-static
%else
%configure --disable-silent-rules --disable-static %configure --disable-silent-rules --disable-static
%endif
%make_build %make_build
%install %install
@ -73,6 +77,9 @@ make %{?_smp_mflags} check
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Tue Apr 11 2023 zhangpan <zhangpan103@h-partners.com> - 1.8.1-4
- add build options for i686
* Fri Nov 04 2022 wangkerong <wangkerong@h-partners.com> - 1.8.1-3 * Fri Nov 04 2022 wangkerong <wangkerong@h-partners.com> - 1.8.1-3
- disable static library - disable static library