From 8828a2c849feab8538003664cf9e7337a9c23e90 Mon Sep 17 00:00:00 2001 From: maminjie Date: Fri, 26 Mar 2021 10:11:21 +0800 Subject: [PATCH] Support parallel compilation --- hdf5.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hdf5.spec b/hdf5.spec index f68f258..63a315e 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -1,6 +1,6 @@ Name: hdf5 Version: 1.8.20 -Release: 10 +Release: 11 Summary: A data model, library, and file format for storing and managing data License: BSD @@ -71,7 +71,7 @@ ln -s ../configure . %{configure_opts} \ --enable-cxx sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool -make LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" +make %{?_smp_mflags} LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" popd %install @@ -122,7 +122,7 @@ cat > ${RPM_BUILD_ROOT}/%{_rpmmacrodir}/macros.hdf5 < - 1.8.20-11 +- Support parallel compilation + * Mon Dec 14 2020 openEuler Buildteam - 1.8.20-10 - fix CVE-2017-17506 CVE-2018-17432 CVE-2018-17435 CVE-2018-13869 CVE-2018-13870 CVE-2018-13873 -- Gitee