From 22584c6808ea1b98efa39b21482bc6376b1e5db7081c058becba74f2125ea09d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 31 Dec 2014 14:00:19 +0000 Subject: [PATCH] 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 --- sed.changes | 5 +++++ sed.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sed.changes b/sed.changes index 024f9e9..3a7c390 100644 --- a/sed.changes +++ b/sed.changes @@ -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 diff --git a/sed.spec b/sed.spec index 230424a..f919b3f 100644 --- a/sed.spec +++ b/sed.spec @@ -53,7 +53,8 @@ occurrences of a string within a file. %build %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 \ --mandir=%{_mandir} \ --infodir=%{_infodir} \