use multi-thread to build

Signed-off-by: yanan-rock <yanan@huawei.com>
(cherry picked from commit 8fc4f2e3c09a947bd20b9b3d09862759f10b9862)
This commit is contained in:
yanan-rock 2021-02-19 20:12:25 -05:00 committed by openeuler-sync-bot
parent d3f3ab1ad0
commit c59e99ea6b

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