disable LTO on (unregisterised) s390x (#1863601)
This commit is contained in:
parent
177eee41fb
commit
4b53d0e949
@ -10,8 +10,8 @@
|
|||||||
#%%global without_hscolour 1
|
#%%global without_hscolour 1
|
||||||
|
|
||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 2.0.12
|
Version: 2.0.13
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: RPM macros for building Haskell packages for GHC
|
Summary: RPM macros for building Haskell packages for GHC
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -217,6 +217,10 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 4 2020 Jens Petersen <petersen@redhat.com> - 2.0.13-1
|
||||||
|
- disable LTO on (unregisterised) s390x (#1863601)
|
||||||
|
to prevent linker warning flood for prof libraries
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-3
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ LANG=C.utf8\
|
|||||||
%ghc_set_gcc_flags\
|
%ghc_set_gcc_flags\
|
||||||
# -Wunused-label is extremely noisy\
|
# -Wunused-label is extremely noisy\
|
||||||
%ifarch s390x\
|
%ifarch s390x\
|
||||||
|
%define _lto_cflags %{nil}\
|
||||||
CFLAGS="${CFLAGS:-$(echo %optflags | sed -e 's/-Wall //' -e 's/-Werror=format-security //')}"\
|
CFLAGS="${CFLAGS:-$(echo %optflags | sed -e 's/-Wall //' -e 's/-Werror=format-security //')}"\
|
||||||
%else\
|
%else\
|
||||||
CFLAGS="${CFLAGS:-%optflags}"\
|
CFLAGS="${CFLAGS:-%optflags}"\
|
||||||
|
Loading…
Reference in New Issue
Block a user