From aef845700e486504bfb5d78a5796e0a24d49f2b1683f9000f681fd58ef7a8a70 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 21 Dec 2014 16:04:45 +0000 Subject: [PATCH] Accepting request 266046 from home:msmeissn:branches:Base:System - build with PIE OBS-URL: https://build.opensuse.org/request/show/266046 OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=63 --- tar.changes | 5 +++++ tar.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tar.changes b/tar.changes index 98c1269..58d2392 100644 --- a/tar.changes +++ b/tar.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 21 12:33:22 UTC 2014 - meissner@suse.com + +- build with PIE + ------------------------------------------------------------------- Thu Nov 20 19:13:19 UTC 2014 - andreas.stieger@gmx.de diff --git a/tar.spec b/tar.spec index cd0928f..91b9df9 100644 --- a/tar.spec +++ b/tar.spec @@ -89,7 +89,7 @@ Upstream testsuite for the package %patch20 -p1 %build -%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter +%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter -fPIE export CFLAGS="%{optflags} %my_cflags" export RSH="/usr/bin/rsh" export DEFAULT_ARCHIVE_FORMAT="POSIX" @@ -97,7 +97,7 @@ export DEFAULT_ARCHIVE_FORMAT="POSIX" gl_cv_func_linkat_follow="yes" \ --enable-backup-scripts \ --disable-silent-rules -make %{?_smp_mflags}; +make %{?_smp_mflags} LDFLAGS="-pie" cd tests make genfile mkdir bin