catch both fstack-protector-strong and fstack-protector

This commit is contained in:
Tom Callaway 2013-08-21 10:45:21 -04:00
parent f7251e7e3a
commit 56dea33fd0
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ like iptables. There are no known incompatibility issues.
f=THANKS; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
%build
MY_CFLAGS=`echo $RPM_OPT_FLAGS -fPIC | sed -e 's/-fstack-protector//g'`
MY_CFLAGS=`echo $RPM_OPT_FLAGS -fPIC | sed -e 's/-fstack-protector-strong//g' | sed -e 's/-fstack-protector//g'`
make %{?_smp_mflags} CFLAGS="$MY_CFLAGS" LIBDIR="/%{_lib}/ebtables" BINDIR="/sbin" MANDIR="%{_mandir}"
%install