summaryrefslogtreecommitdiffstats
path: root/freeipa.spec.in
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-12-04 18:39:44 +0100
committerPetr Viktorin <pviktori@redhat.com>2013-12-06 14:44:40 +0100
commit75dadc1d8ffc3ac84c4b1988c266ef60de1a6cfe (patch)
treec20f02932796de4be8845d90f8a6a4d69f91769a /freeipa.spec.in
parentf618e35a1ac25426912c26ef1948a2cc6217e8f0 (diff)
downloadfreeipa.git-75dadc1d8ffc3ac84c4b1988c266ef60de1a6cfe.tar.gz
freeipa.git-75dadc1d8ffc3ac84c4b1988c266ef60de1a6cfe.tar.xz
freeipa.git-75dadc1d8ffc3ac84c4b1988c266ef60de1a6cfe.zip
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
Diffstat (limited to 'freeipa.spec.in')
-rw-r--r--freeipa.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index fa382b0f..2a4d8fcb 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -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