From a52271ed81e204657de972a9eae24a3e907c4d17152cc154a196090daa96aa76 Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Tue, 23 Dec 2014 15:18:37 +0000 Subject: [PATCH] Accepting request 266196 from home:msmeissn:branches:graphics - build with PIE OBS-URL: https://build.opensuse.org/request/show/266196 OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=63 --- tiff.changes | 5 +++++ tiff.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tiff.changes b/tiff.changes index fbc3d1b..5dbc71c 100644 --- a/tiff.changes +++ b/tiff.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 22 19:58:43 UTC 2014 - meissner@suse.com + +- build with PIE + ------------------------------------------------------------------- Wed Aug 21 12:57:57 UTC 2013 - pgajdos@suse.com diff --git a/tiff.spec b/tiff.spec index fba8293..ba46a96 100644 --- a/tiff.spec +++ b/tiff.spec @@ -1,7 +1,7 @@ # # spec file for package tiff # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -117,8 +117,9 @@ the libtiff library. %patch11 %build +CFLAGS="$RPM_OPT_FLAGS -fPIE" %configure --disable-static --with-pic -make %{?_smp_mflags} +make %{?_smp_mflags} LDFLAGS="-pie" %install mkdir -p %{buildroot}/{%{_mandir}/{man1,man3},usr/{bin,lib,include}}