ghc_set_gcc_flags disable _lto_cflags for all archs

epel9
Jens Petersen 3 years ago
parent 22d34de16e
commit 9a341be0e1

@ -7,7 +7,7 @@
%endif
Name: ghc-rpm-macros
Version: 2.3.12
Version: 2.3.13
Release: 1%{?dist}
Summary: RPM macros for building Haskell packages for GHC
@ -184,8 +184,14 @@ EOF
%changelog
* Tue Feb 8 2022 Jens Petersen <petersen@redhat.com> - 2.3.13-1
- ghc_set_gcc_flags: disable _lto_cflags for all archs
to address missing symbol linking errors across packages
(particularly those using FFI)
* Fri Jan 21 2022 Jens Petersen <petersen@redhat.com> - 2.3.12-1
- disable package notes since breaks all Haskell packages (#2043092)
- disable package notes which broke all Haskell package builds (#2043092)
https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

@ -11,9 +11,9 @@ LANG=C.utf8\
%ghc_set_gcc_flags\
%global _lto_cflags %{nil}\
# -Wunused-label is extremely noisy\
%ifarch s390x\
%define _lto_cflags %{nil}\
CFLAGS="${CFLAGS:-$(echo %optflags | sed -e 's/-Wall //' -e 's/-Werror=format-security //')}"\
%else\
CFLAGS="${CFLAGS:-%optflags}"\

Loading…
Cancel
Save