sparc64 needs big PIE
This commit is contained in:
parent
059d9bb1c5
commit
e6fa6f22fc
11
rsyslog.spec
11
rsyslog.spec
@ -6,7 +6,7 @@
|
|||||||
Summary: Enhanced system logging and kernel message trapping daemon
|
Summary: Enhanced system logging and kernel message trapping daemon
|
||||||
Name: rsyslog
|
Name: rsyslog
|
||||||
Version: 5.6.2
|
Version: 5.6.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.rsyslog.com/
|
URL: http://www.rsyslog.com/
|
||||||
@ -102,8 +102,14 @@ ability to send syslog messages as SNMPv1 and SNMPv2c traps.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch sparc64
|
||||||
|
#sparc64 need big PIE
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS -fPIE -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
|
||||||
|
export LDFLAGS="-PIE -Wl,-z,relro -Wl,-z,now"
|
||||||
|
%else
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fpie -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
|
export CFLAGS="$RPM_OPT_FLAGS -fpie -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
|
||||||
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
||||||
|
%endif
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--disable-testbench \
|
--disable-testbench \
|
||||||
--enable-mysql \
|
--enable-mysql \
|
||||||
@ -228,6 +234,9 @@ mv /var/lock/subsys/rsyslogd /var/lock/subsys/rsyslog
|
|||||||
%{_libdir}/rsyslog/omsnmp.so
|
%{_libdir}/rsyslog/omsnmp.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 18 2011 Dennis Gilmore <dennis@ausil.us> - 5.6.2-3
|
||||||
|
- sparc64 needs big PIE
|
||||||
|
|
||||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.2-2
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.2-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user