- linking with -pie flag turned on again

This commit is contained in:
Martin Bacovsky 2007-02-01 13:42:45 +00:00
parent 00cdd5a31c
commit 8fe2bac5f3

View File

@ -5,7 +5,7 @@
Summary: A Router Advertisement daemon
Name: radvd
Version: 1.0
Release: 1%{?dist}
Release: 2%{?dist}
# The code includes the advertising clause, so it's GPL-incompatible
License: BSD-style
Group: System Environment/Daemons
@ -30,6 +30,7 @@ services.
%build
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIE"
export LDFLAGS='-pie -Wl,-z,relro,-z,now,-z,noexecstack,-z,nodlopen'
%configure --with-pidfile=/var/run/radvd/radvd.pid
make
# make %{?_smp_mflags}
@ -86,6 +87,9 @@ fi
%{_sbindir}/radvdump
%changelog
* Thu Feb 1 2007 Martin Bacovsky <mbacovsk@redhat.com> - 1.0-2.fc7
- linking with -pie flag turned on again
* Wed Jan 31 2007 Martin Bacovsky <mbacovsk@redhat.com> - 1.0-1.fc7
- rebase to upstream 1.0
- Resolves: #225542: radvd 1.0 released