quieten ppc64 and ppc64le logs by not setting CFLAGS
-Wunused-label very noisy with ghc-7.10 I think this can be dropped for ghc-8.0
This commit is contained in:
parent
f1517cd581
commit
df54044203
@ -11,7 +11,7 @@
|
||||
|
||||
Name: ghc-rpm-macros
|
||||
Version: 1.6.15
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: RPM macros for building Haskell packages for GHC
|
||||
|
||||
License: GPLv3+
|
||||
@ -147,6 +147,9 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 14 2017 Jens Petersen <petersen@redhat.com> - 1.6.15-2
|
||||
- do not set CFLAGS on ppc64 or ppc64le due to -Wunused-label noise
|
||||
|
||||
* Mon Feb 13 2017 Jens Petersen <petersen@redhat.com> - 1.6.15-1
|
||||
- fix handling of ghc's .files with new ghc_lib_subpackage -d option
|
||||
|
||||
|
@ -27,7 +27,7 @@ fi
|
||||
%ghc_check_bootstrap\
|
||||
%global _hardened_ldflags %{nil}\
|
||||
# -Wunused-label is extremely noisy: remove for ghc-8.0\
|
||||
%ifnarch aarch64\
|
||||
%ifnarch aarch64 ppc64 ppc64le\
|
||||
CFLAGS="${CFLAGS:-%optflags}"; export CFLAGS\
|
||||
%endif\
|
||||
LDFLAGS="${LDFLAGS:-%{?__global_ldflags}}"; export LDFLAGS\
|
||||
|
Loading…
Reference in New Issue
Block a user