!7 use multi thread to build for gtk2

From: @yanan-rock
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
This commit is contained in:
openeuler-ci-bot 2021-03-10 11:24:36 +08:00 committed by Gitee
commit d112d19090

View File

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