Dr. Werner Fink 2024-08-29 13:47:14 +00:00 committed by Git OBS Bridge
parent 0311196be4
commit 703a98e19d

View File

@ -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