(aarch64/s390) remove -Wall and -Werror=format-security separately

epel9
Jens Petersen 7 years ago
parent 8de86546c3
commit 01d6966655

@ -332,7 +332,7 @@ autoconf
%else
# -Wunused-label is extremely noisy
%ifarch aarch64 s390x
CFLAGS="${CFLAGS:-$(echo %optflags | sed -e 's/-Wall -Werror=format-security //')}"
CFLAGS="${CFLAGS:-$(echo %optflags | sed -e 's/-Wall //' -e 's/-Werror=format-security //')}"
%else
CFLAGS="${CFLAGS:-%optflags}"
%endif

Loading…
Cancel
Save