Accepting request 783187 from home:marxin:branches:shells

- Remove stack-protector option addition, it's already in $optflags.

OBS-URL: https://build.opensuse.org/request/show/783187
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=217
This commit is contained in:
Ismail Dönmez 2020-03-10 09:26:21 +00:00 committed by Git OBS Bridge
parent e5563facd4
commit fe5be78e62
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 10 08:38:10 UTC 2020 - Martin Liška <mliska@suse.cz>
- Remove stack-protector option addition, it's already in $optflags.
-------------------------------------------------------------------
Mon Feb 17 05:18:47 UTC 2020 - Ismail Dönmez <idonmez@suse.com>

View File

@ -108,15 +108,10 @@ perl -p -i -e 's|%{_prefix}/local/bin|%{_bindir}|' \
%build
%define _stack_protector "-fstack-protector-strong"
%if 0%{?suse_version} <= 1315
%define _stack_protector "-fstack-protector"
%endif
%configure \
%if 0%{?suse_version}
--with-term-lib="ncursesw" \
--enable-cflags="%{optflags} -fPIE %{_stack_protector} %(ncursesw6-config --cflags)" \
--enable-cflags="%{optflags} -fPIE %(ncursesw6-config --cflags)" \
--enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro" \
%endif
--enable-fndir=%{_datadir}/%{name}/${version}/functions \