!288 Override the linker and force noexecstack stacks

From: @zhangqiumiao 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2023-07-17 08:36:20 +00:00 committed by Gitee
commit 4e138beb1e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 8 additions and 2 deletions

View File

@ -14,7 +14,7 @@
%global ccpath %{__cc}
%endif
%global cc_equals "CC=%{ccpath} -fPIE"
%global cc_equals "CC=%{ccpath} -fPIE -Wl,-z,noexecstack"
%global cflags_sed \\\
sed \\\

View File

@ -14,7 +14,7 @@
Name: grub2
Epoch: 1
Version: 2.06
Release: 31
Release: 32
Summary: Bootloader with support for Linux, Multiboot and more
License: GPLv3+
URL: http://www.gnu.org/software/grub/
@ -440,6 +440,12 @@ fi
%{_datadir}/man/man*
%changelog
* Mon Jul 17 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-32
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:Override the linker and force noexecstack stacks
* Mon Jul 3 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-31
- Type:bugfix
- CVE:NA