- Unbreak Leap 42.3 compilation
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=202
This commit is contained in:
parent
9216e0d466
commit
32d5305ae7
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 21 09:29:03 UTC 2018 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Unbreak Leap 42.3 compilation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 16 20:13:34 UTC 2018 - Karol Babioch <kbabioch@suse.com>
|
||||
|
||||
|
7
zsh.spec
7
zsh.spec
@ -108,10 +108,15 @@ 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 -fstack-protector-strong %(ncursesw6-config --cflags)" \
|
||||
--enable-cflags="%{optflags} -fPIE %{_stack_protector} %(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