Improved the spec file not to override LDFLAGS
This commit is contained in:
parent
2eab8d2bc5
commit
ca3eadd65f
|
@ -12,7 +12,7 @@
|
||||||
Summary: The exim mail transfer agent
|
Summary: The exim mail transfer agent
|
||||||
Name: exim
|
Name: exim
|
||||||
Version: 4.93
|
Version: 4.93
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Url: https://www.exim.org/
|
Url: https://www.exim.org/
|
||||||
|
|
||||||
|
@ -174,7 +174,9 @@ cp exim_monitor/EDITME Local/eximon.conf
|
||||||
export PIE=-fPIE
|
export PIE=-fPIE
|
||||||
export PIC=-fPIC
|
export PIC=-fPIC
|
||||||
%endif
|
%endif
|
||||||
make _lib=%{_lib} FULLECHO= LDFLAGS="%{?__global_ldflags} %{?_hardened_build:-pie -Wl,-z,relro,-z,now} -lopendmarc -lspf2"
|
|
||||||
|
export LDFLAGS="%{?__global_ldflags} %{?_hardened_build:-pie -Wl,-z,relro,-z,now}"
|
||||||
|
make _lib=%{_lib} FULLECHO=
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
|
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
|
||||||
|
@ -477,6 +479,9 @@ fi
|
||||||
%{_sysconfdir}/cron.daily/greylist-tidy.sh
|
%{_sysconfdir}/cron.daily/greylist-tidy.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 29 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 4.93-7
|
||||||
|
- Improved the spec file not to override LDFLAGS
|
||||||
|
|
||||||
* Wed Apr 29 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 4.93-6
|
* Wed Apr 29 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 4.93-6
|
||||||
- Updated config to explictly link with spf2 and opendmarc
|
- Updated config to explictly link with spf2 and opendmarc
|
||||||
- Fixed bogus date in changelog
|
- Fixed bogus date in changelog
|
||||||
|
|
Loading…
Reference in New Issue