From 8da0b83f750d258169d1c1baf9b6c01245241a536d531d6ea1e9a5692b90651b Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Mon, 5 Jan 2015 09:10:56 +0000 Subject: [PATCH] Accepting request 267107 from home:msmeissn:branches:Base:System - build with PIE OBS-URL: https://build.opensuse.org/request/show/267107 OBS-URL: https://build.opensuse.org/package/show/Base:System/diffutils?expand=0&rev=32 --- diffutils.changes | 5 +++++ diffutils.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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}