temporarily set Wall for all archs to see which are noisy

epel9
Jens Petersen 7 years ago
parent ff7270f82d
commit ea9bb846fc

@ -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 <petersen@redhat.com> - 1.6.50-3
- temporarily set Wall for all archs to see which are noisy
* Tue Oct 10 2017 Jens Petersen <petersen@redhat.com> - 1.6.50-2
- drop the git-annex obsoletes

@ -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

Loading…
Cancel
Save