Accepting request 267006 from home:msmeissn:branches:Archiving

- build with PIE

OBS-URL: https://build.opensuse.org/request/show/267006
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=52
This commit is contained in:
Ismail Dönmez 2015-01-02 15:18:30 +00:00 committed by Git OBS Bridge
parent 19d62652f7
commit 0850b6f7d2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 1 22:54:20 UTC 2015 - meissner@suse.com
- build with PIE
-------------------------------------------------------------------
Mon Dec 1 15:47:49 UTC 2014 - vcizek@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cpio
#
# Copyright (c) 2014 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
@ -92,7 +92,8 @@ Authors:
%build
gettextize -f
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIE" \
LDFLAGS="-pie" \
./configure \
--with-rmt="%{_sysconfdir}/rmt" \
--enable-mt \