diff --git a/diffutils.changes b/diffutils.changes index f5e69b9..71a7dd1 100644 --- a/diffutils.changes +++ b/diffutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 3 15:25:32 UTC 2015 - meissner@suse.com + +- build with PIE + ------------------------------------------------------------------- Fri Dec 6 13:28:07 CET 2013 - pth@suse.de diff --git a/diffutils.spec b/diffutils.spec index 4ba0bbb..78e0c90 100644 --- a/diffutils.spec +++ b/diffutils.spec @@ -1,7 +1,7 @@ # # spec file for package diffutils # -# Copyright (c) 2013 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 @@ -43,6 +43,8 @@ make source code patches, for instance. %setup -q %build +export CFLAGS="%optflags -fPIE" +export LDFLAGS="-pie" %configure make %{?_smp_mflags}