!2 add "-fstack-protector-strong" for core.so

From: @chen-jan
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-09-07 09:15:50 +00:00 committed by Gitee
commit 0fcdb65f97

View File

@ -6,7 +6,7 @@
Name: lua-term
Version: 0.07
Release: 1
Release: 2
Summary: Terminal functions for Lua
License: MIT
@ -36,7 +36,7 @@ Lua module for manipulating a terminal.
%build
%{__cc} %{optflags} -fPIC -c core.c -o core.o
%{__cc} %{__global_ldflags} -shared -o core.so core.o
%{__cc} %{__global_ldflags} -fstack-protector-strong -shared -o core.so core.o
chmod 755 core.so
@ -55,5 +55,8 @@ cp -p core.so %{buildroot}%{lualibdir}/term/
%changelog
* Tue Sep 07 2021 chenchen <chen_aka_jan@163.com> - 0.07-2
- add "-fstack-protector-strong" for core.so
* Fri Oct 23 2020 wangxiao <wangxiao65@huawei.com> - 0.07-1
- package init.