From 56dea33fd0c892f99a16ed27776f5ce74c27f88f Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 21 Aug 2013 10:45:21 -0400 Subject: [PATCH] catch both fstack-protector-strong and fstack-protector --- ebtables.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebtables.spec b/ebtables.spec index 93b6454..565b07e 100644 --- a/ebtables.spec +++ b/ebtables.spec @@ -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