Accepting request 266853 from home:msmeissn:branches:Base:System

- build with PIE

OBS-URL: https://build.opensuse.org/request/show/266853
OBS-URL: https://build.opensuse.org/package/show/Base:System/sed?expand=0&rev=20
This commit is contained in:
Marcus Meissner 2014-12-31 14:00:19 +00:00 committed by Git OBS Bridge
parent 7e87646376
commit 22584c6808
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 30 11:15:38 UTC 2014 - meissner@suse.com
- build with PIE
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 3 09:48:33 UTC 2014 - tcech@suse.cz Tue Jun 3 09:48:33 UTC 2014 - tcech@suse.cz

View File

@ -53,7 +53,8 @@ occurrences of a string within a file.
%build %build
%define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security %define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security
export CFLAGS="%{optflags} %warn_flags" export CFLAGS="%{optflags} %warn_flags -fPIE"
export LDFLAGS="-pie"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--mandir=%{_mandir} \ --mandir=%{_mandir} \
--infodir=%{_infodir} \ --infodir=%{_infodir} \