- Remove -Wl,-z,now it breaks module loading rh#1277996

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=164
This commit is contained in:
Ismail Dönmez 2015-11-05 15:56:22 +00:00 committed by Git OBS Bridge
parent 33bafff8db
commit d0a7d14585
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 5 15:51:37 UTC 2015 - idonmez@suse.com
- Remove -Wl,-z,now it breaks module loading rh#1277996
-------------------------------------------------------------------
Sat Sep 12 07:47:27 UTC 2015 - idonmez@suse.com

View File

@ -113,6 +113,7 @@ perl -p -i -e 's|/usr/local/bin|%{_bindir}|' \
Util/reporter
%build
%configure \
--enable-fndir=%{_datadir}/%{name}/${version}/functions \
--enable-site-fndir=%{_datadir}/%{name}/site-functions \
@ -124,7 +125,7 @@ perl -p -i -e 's|/usr/local/bin|%{_bindir}|' \
--enable-pcre \
--with-term-lib="ncursesw" \
--enable-cflags="%{optflags} -fPIE -fstack-protector %(ncursesw6-config --cflags)" \
--enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro,-z,now"
--enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro"
# Copy _rpm completion from Redhat (bnc#900424)
cp Completion/Redhat/Command/_rpm Completion/openSUSE/Command/_rpm