Dr. Werner Fink 2024-08-29 13:14:20 +00:00 committed by Git OBS Bridge
parent e9d2a0c863
commit 2c1e79d131

View File

@ -171,7 +171,7 @@ else
CC="gcc"
fi
%ifarch s390x
##RPM_OPT_FLAGS="$(echo %{optflags}|sed -r 's/-fstack-protector-strong ?//g;s/-f(stack-clash-protection)/-fno-\1/') -fno-stack-limit"
%{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