diff options
-rw-r--r-- | daemons/ipa-otpd/Makefile.am | 2 | ||||
-rw-r--r-- | freeipa.spec.in | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/daemons/ipa-otpd/Makefile.am b/daemons/ipa-otpd/Makefile.am index f0b75284d..ed99c3ecb 100644 --- a/daemons/ipa-otpd/Makefile.am +++ b/daemons/ipa-otpd/Makefile.am @@ -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 diff --git a/freeipa.spec.in b/freeipa.spec.in index fa382b0f4..2a4d8fcb8 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 |