From c07f27990b2d663ff4692516c7b9a948e0846959 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 24 Jul 2018 19:13:19 +0900 Subject: [PATCH] (aarch64/s390) remove -Wall and -Werror=format-security separately --- ghc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc.spec b/ghc.spec index 77dd986..686b95b 100644 --- a/ghc.spec +++ b/ghc.spec @@ -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