ebtables gets hung up on -fstack-protector, needs -fPIC

This commit is contained in:
Tom Callaway 2006-03-29 21:42:10 +00:00
parent a427072586
commit 3a564adfb7
1 changed files with 9 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Name: ebtables
Version: 2.0.8
Release: 0.1.%{prever}%{?dist}
Release: 0.3.%{prever}%{?dist}
Summary: Ethernet Bridge frame table administration tool
License: GPL
Group: System Environment/Base
@ -28,7 +28,8 @@ like iptables. There are no known incompatibility issues.
%setup -q -n ebtables-v%{version}-%{prever}
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
MY_CFLAGS=`echo $RPM_OPT_FLAGS -fPIC | sed -e 's/-fstack-protector//g'`
make %{?_smp_mflags} CFLAGS="$MY_CFLAGS"
%install
rm -rf $RPM_BUILD_ROOT
@ -69,6 +70,12 @@ fi
%ghost %{_sysconfdir}/ebtables.broute
%changelog
* Wed Mar 29 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.3.rc1
- use -fPIC
* Wed Mar 29 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.2.rc1
- broken tagging
* Tue Jan 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.1.rc1
- bump to 2.0.8-rc1