!9 [sync] PR-6: use multi thread to build

From: @openeuler-sync-bot
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
This commit is contained in:
openeuler-ci-bot 2021-04-14 14:12:06 +08:00 committed by Gitee
commit 3aa4a55981

View File

@ -6,7 +6,7 @@
#Basic Information
Name: gtk2
Version: 2.24.32
Release: 7
Release: 8
Summary: GTK+ graphical user interface library
License: LGPLv2+
URL: http://www.gtk.org
@ -110,7 +110,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} \
@ -232,6 +232,12 @@ 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.32-8
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:use multi-thread to build
* Fri Feb 28 2020 xiaoweiwei <xiaoweiwei5@huawei.com> - 2.24.32-7
- Type:enhancement
- ID:NA