add -fstack-protector-strong for so file
This commit is contained in:
parent
18a45165b4
commit
1f76533cc9
10
zsh.spec
10
zsh.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: zsh
|
Name: zsh
|
||||||
Version: 5.8
|
Version: 5.8
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A shell designed for interactive use
|
Summary: A shell designed for interactive use
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://zsh.sourceforge.net
|
URL: http://zsh.sourceforge.net
|
||||||
@ -52,7 +52,7 @@ sed -e 's|^\.NOTPARALLEL|#.NOTPARALLEL|' -i 'Config/defs.mk.in'
|
|||||||
%build
|
%build
|
||||||
%undefine _strict_symbol_defs_build
|
%undefine _strict_symbol_defs_build
|
||||||
|
|
||||||
export LIBLDFLAGS='-z lazy'
|
export LIBLDFLAGS='-z lazy -fstack-protector-strong'
|
||||||
|
|
||||||
%configure --enable-etcdir=%{_sysconfdir} --with-tcsetpgrp --enable-maildir-support --enable-pcre
|
%configure --enable-etcdir=%{_sysconfdir} --with-tcsetpgrp --enable-maildir-support --enable-pcre
|
||||||
|
|
||||||
@ -130,6 +130,12 @@ fi
|
|||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 20 2021 shenyangyang <shenyangyang4@huawei.com> - 5.8-2
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add -fstack-protector-strong for so file
|
||||||
|
|
||||||
* Fri Jan 29 2021 zoulin <zoulin13@huawei.com> - 5.8-1
|
* Fri Jan 29 2021 zoulin <zoulin13@huawei.com> - 5.8-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user