use multi-thread to build

Signed-off-by: yanan-rock <yanan@huawei.com>
This commit is contained in:
yanan-rock 2021-02-19 20:08:16 -05:00
parent 20397d8133
commit ade8438d66

View File

@ -6,7 +6,7 @@
#Basic Information
Name: gtk2
Version: 2.24.33
Release: 1
Release: 2
Summary: GTK+ graphical user interface library
License: LGPLv2+
URL: http://www.gtk.org
@ -109,7 +109,7 @@ export CFLAGS='-fno-strict-aliasing %optflags'
--enable-debug \
)
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
%make_build
%install
make install DESTDIR=%{buildroot} \
@ -231,6 +231,9 @@ gtk-query-immodules-2.0-64 --update-cache
%{_mandir}/man1/gtk-builder-convert.1.gz
%changelog
* Wed Mar 10 2021 yanan <yanan@huawei.com> - 2.24.33-2
- use multi-thread to build
* Fri Jan 29 2021 jinzhimin <jinzhimin2@huawei.com> - 2.24.33-1
- upgrade to 2.24.33