diff --git a/clisp.spec b/clisp.spec index fd5d5b3..32dd246 100644 --- a/clisp.spec +++ b/clisp.spec @@ -172,7 +172,7 @@ else CC="gcc" fi %ifarch s390x -%{expand:%%global optflags %(echo "%{optflags}"|sed -r -e s/-fstack-protector-strong// -e s/-fstack-clash-protection// -e "s/(-D_FORTIFY_SOURCE)=3/\1=2/")} +%{expand:%%global optflags %(echo "%{optflags}"|sed -r -e s/-fstack-protector-strong// -e s/-fstack-clash-protection//)} %endif CC="${CC} -g %{optflags} -fno-strict-aliasing -fPIC -pipe" case "$(uname -m)" in