From 7cda4fbc6f304b0809ac6f2d893a3e1da2b1d49d Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Tue, 23 Jan 2018 12:21:57 +0100 Subject: [PATCH] Override linker flags done in redhat-rpm-config-84-1.fc28 https://bugzilla.redhat.com/show_bug.cgi?id=1535422 https://fedoraproject.org/wiki/Changes/BINUTILS2291 sssd cannot be linked with -Wl,-z,defs atm. --- sssd.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sssd.spec b/sssd.spec index 18be292..958b62f 100644 --- a/sssd.spec +++ b/sssd.spec @@ -683,6 +683,8 @@ done %build autoreconf -ivf +export LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//')" + %configure \ --with-test-dir=/dev/shm \ --with-db-path=%{dbpath} \