(aarch64/s390) remove -Wall and -Werror=format-security separately
This commit is contained in:
parent
ccd70e89cb
commit
c07f27990b
2
ghc.spec
2
ghc.spec
@ -332,7 +332,7 @@ autoconf
|
|||||||
%else
|
%else
|
||||||
# -Wunused-label is extremely noisy
|
# -Wunused-label is extremely noisy
|
||||||
%ifarch aarch64 s390x
|
%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
|
%else
|
||||||
CFLAGS="${CFLAGS:-%optflags}"
|
CFLAGS="${CFLAGS:-%optflags}"
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user