!43 add build options for i686

From: @zppzhangpan 
Reviewed-by: @leeffo 
Signed-off-by: @leeffo
This commit is contained in:
openeuler-ci-bot 2023-04-11 06:52:36 +00:00 committed by Gitee
commit 74354951a5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libX11
Version: 1.8.1
Release: 3
Release: 4
Summary: Core X11 protocol client library
License: MIT
URL: http://www.x.org
@ -35,7 +35,11 @@ The %{name}-devel package contains libraries and header files for %{name}.
%build
autoreconf -ivf
%if 0%{?build_cross} == 1
%configure --disable-silent-rules --enable-malloc0returnsnull --disable-static
%else
%configure --disable-silent-rules --disable-static
%endif
%make_build
%install
@ -73,6 +77,9 @@ make %{?_smp_mflags} check
%{_mandir}/*/*
%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
- disable static library