From ea9bb846fc5525d8f9b5b648c8b8c2469a82d54d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 10 Nov 2017 10:56:09 +0900 Subject: [PATCH] temporarily set Wall for all archs to see which are noisy --- ghc-rpm-macros.spec | 5 ++++- macros.ghc | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 368026b..112ba13 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -11,7 +11,7 @@ Name: ghc-rpm-macros Version: 1.6.50 -Release: 2%{?dist} +Release: 3%{?dist} Summary: RPM macros for building Haskell packages for GHC License: GPLv3+ @@ -161,6 +161,9 @@ EOF %changelog +* Fri Nov 10 2017 Jens Petersen - 1.6.50-3 +- temporarily set Wall for all archs to see which are noisy + * Tue Oct 10 2017 Jens Petersen - 1.6.50-2 - drop the git-annex obsoletes diff --git a/macros.ghc b/macros.ghc index 4291243..b6b4848 100644 --- a/macros.ghc +++ b/macros.ghc @@ -27,9 +27,9 @@ fi %ghc_check_bootstrap\ %global _hardened_ldflags %{nil}\ # -Wunused-label is extremely noisy: remove for ghc-8.0\ -%ifnarch aarch64 ppc64 ppc64le\ +#%%ifnarch aarch64 ppc64 ppc64le s390x\ CFLAGS="${CFLAGS:-%optflags}"; export CFLAGS\ -%endif\ +#%%endif\ LDFLAGS="${LDFLAGS:-%{?__global_ldflags}}"; export LDFLAGS\ %cabal --version\ %cabal configure --prefix=%{_prefix} --libdir=%{_libdir} --docdir=%{_ghcdocdir} --libsubdir='$compiler/$pkgkey' --datasubdir='$pkgid' --ghc %{!?ghc_without_dynamic:--enable-executable-dynamic} %{?with_tests:--enable-tests} %{?ghc_subpackaging:--user}%{!?ghc_subpackaging:--global} --ghc-options="${CFLAGS:+$(echo ' '$CFLAGS | sed -e 's/ / -optc/g')} ${LDFLAGS:+$(echo ' '$LDFLAGS | sed -e 's/ / -optl/g')}" %{?cabal_configure_options} $cabal_configure_extra_options