diff --git a/sssd.changes b/sssd.changes index cfbd912..2a2d2fd 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 1 22:01:02 UTC 2015 - meissner@suse.com + +- build with PIE + ------------------------------------------------------------------- Mon Nov 10 00:37:00 UTC 2014 - Led diff --git a/sssd.spec b/sssd.spec index b332b32..0494d13 100644 --- a/sssd.spec +++ b/sssd.spec @@ -1,7 +1,7 @@ # # spec file for package sssd # -# 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 @@ -346,6 +346,8 @@ export LDB_DIR="$(pkg-config ldb --variable=modulesdir)" export PATH="$PATH:/usr/sbin" autoreconf -fiv; +export CFLAGS="$RPM_OPT_FLAGS -fPIE" +export LDFLAGS="-pie" %configure \ --with-crypto=libcrypto \ --with-db-path="%dbpath" \