Drop already defined _GNU_SOURCE symbol
This commit is contained in:
parent
2167994db4
commit
9a9e4f6b39
@ -1,7 +1,7 @@
|
||||
Summary: A Router Advertisement daemon
|
||||
Name: radvd
|
||||
Version: 1.9
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# The code includes the advertising clause, so it's GPL-incompatible
|
||||
License: BSD with advertising
|
||||
Group: System Environment/Daemons
|
||||
@ -40,7 +40,7 @@ for F in CHANGES; do
|
||||
done
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIE"
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fPIE"
|
||||
export LDFLAGS='-pie -Wl,-z,relro,-z,now,-z,noexecstack,-z,nodlopen'
|
||||
%configure --with-pidfile=%{_localstatedir}/run/radvd/radvd.pid
|
||||
make
|
||||
@ -101,6 +101,9 @@ exit 0
|
||||
%{_sbindir}/radvdump
|
||||
|
||||
%changelog
|
||||
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 1.9-2
|
||||
- Drop already defined _GNU_SOURCE symbol
|
||||
|
||||
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 1.9-1
|
||||
- 1.9 bump
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user