Accepting request 783235 from shells
OBS-URL: https://build.opensuse.org/request/show/783235 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=90
This commit is contained in:
commit
1474cd0c2c
@ -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>
|
||||
|
||||
|
7
zsh.spec
7
zsh.spec
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user