- Harden CFLAGS/LDFLAGS

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=140
This commit is contained in:
Ismail Dönmez 2015-01-14 10:02:14 +00:00 committed by Git OBS Bridge
parent ae6f9666d7
commit 3f8a572ebb
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 14 09:57:47 UTC 2015 - idonmez@suse.com
- Harden CFLAGS/LDFLAGS
-------------------------------------------------------------------
Thu Oct 9 08:24:20 UTC 2014 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package zsh
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -120,8 +120,8 @@ perl -p -i -e 's|/usr/local/bin|%{_bindir}|' \
--enable-multibyte \
--enable-pcre \
--with-term-lib="ncursesw" \
--enable-cflags="%{optflags} %(ncursesw6-config --cflags)" \
--enable-ldflags="%(ncursesw6-config --libs)"
--enable-cflags="%{optflags} -fPIE -fstack-protector %(ncursesw6-config --cflags)" \
--enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro,-z,now"
make all info html