mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Petr Viktorin
parent
f618e35a1a
commit
75dadc1d8f
@@ -1,5 +1,5 @@
|
||||
AM_CFLAGS := $(CFLAGS) @LDAP_CFLAGS@ @LIBVERTO_CFLAGS@
|
||||
AM_LDFLAGS := $(LDFLAGS) @LDAP_LIBS@ @LIBVERTO_LIBS@ @KRAD_LIBS@ -pie -Wl,-z,relro -Wl,-z,now
|
||||
AM_LDFLAGS := $(LDFLAGS) @LDAP_LIBS@ @LIBVERTO_LIBS@ @KRAD_LIBS@
|
||||
|
||||
noinst_HEADERS = internal.h
|
||||
libexec_PROGRAMS = ipa-otpd
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user