Include LDFLAGS provided by rpmbuild in global LDFLAGS in the spec file.

Remove explicitly specified hardening flags from LDFLAGS in ipa-otpd.

https://fedorahosted.org/freeipa/ticket/3896
This commit is contained in:
Jan Cholasta
2013-12-04 18:39:44 +01:00
committed by Petr Viktorin
parent f618e35a1a
commit 75dadc1d8f
2 changed files with 2 additions and 1 deletions

View File

@@ -322,6 +322,7 @@ This package contains tests that verify IPA functionality.
%build
export CFLAGS="%{optflags} $CFLAGS"
export CPPFLAGS="%{optflags} $CPPFLAGS"
export LDFLAGS="%{__global_ldflags} $LDFLAGS"
%if 0%{?fedora} >= 19
export SUPPORTED_PLATFORM=fedora19
%else