From 86656f23a45a5edd51618056ac0702d2725a14702a53d34a994e44400349ef71 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 1 Jan 2015 23:00:25 +0000 Subject: [PATCH] Accepting request 266999 from home:msmeissn:branches:network:ldap - build with PIE OBS-URL: https://build.opensuse.org/request/show/266999 OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=141 --- sssd.changes | 5 +++++ sssd.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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" \