From 5c3881632be03c708f62d22e6990706904a85a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8B=87?= Date: Mon, 2 Aug 2021 16:09:56 +0800 Subject: [PATCH] fix failure caused by GCC upgrade to GCC-10 --- libpsm2.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libpsm2.spec b/libpsm2.spec index 071b3f7..7aa7a34 100644 --- a/libpsm2.spec +++ b/libpsm2.spec @@ -1,6 +1,6 @@ Name: libpsm2 Version: 10.3.58 -Release: 7 +Release: 8 Summary: Intel PSM Libraries License: BSD or GPLv2 URL: https://github.com/01org/opa-psm2/ @@ -41,7 +41,7 @@ Support for MPIs linked with PSM versions less than 2 %autosetup -n opa-psm2-PSM2_10.3.58 -p1 %build -%make_build +%make_build CFLAGS='-fcommon' %install %make_install @@ -73,7 +73,10 @@ rm -f %{buildroot}%{_libdir}/*.a %{_sysconfdir}/modprobe.d/libpsm2-compat.conf %changelog -* Wed Jun 16 2021 wulei - 10.3.58-6 +* Mon Aug 02 2021 wangyong - 10.3.58-8 +- Fix build error caused by GCC upgrade to GCC-10 + +* Wed Jun 16 2021 wulei - 10.3.58-7 - Fix build error * Thu Jul 02 2020 senlin - 10.3.58-6 -- Gitee