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} \