From 808443661a973c758a9a3e0427ec784e9afd5d25 Mon Sep 17 00:00:00 2001 From: zhangpan Date: Tue, 11 Apr 2023 06:35:48 +0000 Subject: [PATCH] add build options for i686 --- libX11.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index 6e153db..2e9ce66 100644 --- a/libX11.spec +++ b/libX11.spec @@ -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 - 1.8.1-4 +- add build options for i686 + * Fri Nov 04 2022 wangkerong - 1.8.1-3 - disable static library -- Gitee