From 3e425e1b54592d770cce33fe7adf593cb5e5079b Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Fri, 26 Aug 2022 16:56:31 +0800 Subject: [PATCH] Add safe compilation options fstack-protector-strong --- libpsm2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libpsm2.spec b/libpsm2.spec index 29d5497..9322cd4 100644 --- a/libpsm2.spec +++ b/libpsm2.spec @@ -1,6 +1,6 @@ Name: libpsm2 Version: 10.3.58 -Release: 10 +Release: 11 Summary: Intel PSM Libraries License: BSD or GPLv2 URL: https://github.com/01org/opa-psm2/ @@ -43,6 +43,7 @@ Support for MPIs linked with PSM versions less than 2 %autosetup -n opa-psm2-PSM2_10.3.58 -p1 %build +%{set_build_flags} %make_build %install @@ -75,6 +76,9 @@ rm -f %{buildroot}%{_libdir}/*.a %{_sysconfdir}/modprobe.d/libpsm2-compat.conf %changelog +* Fri Aug 26 2022 yaoxin - 10.3.58-11 +- Add safe compilation options fstack-protector-strong + * Fri Jul 29 2022 wangkai - 10.3.58-10 - Add buildRequires make -- Gitee