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.
This commit is contained in:
Lukas Slebodnik 2018-01-23 12:21:57 +01:00
parent b390855a98
commit 7cda4fbc6f

View File

@ -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} \