diff --git a/cpio.changes b/cpio.changes index 044566d..4b61502 100644 --- a/cpio.changes +++ b/cpio.changes @@ -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 diff --git a/cpio.spec b/cpio.spec index 955e6f7..7db4758 100644 --- a/cpio.spec +++ b/cpio.spec @@ -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 \