diff --git a/zsh.changes b/zsh.changes index a6cd2cd..f7e032e 100644 --- a/zsh.changes +++ b/zsh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 10 08:38:10 UTC 2020 - Martin Liška + +- Remove stack-protector option addition, it's already in $optflags. + ------------------------------------------------------------------- Mon Feb 17 05:18:47 UTC 2020 - Ismail Dönmez diff --git a/zsh.spec b/zsh.spec index b68b6dd..f603666 100644 --- a/zsh.spec +++ b/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 \