ghc_set_gcc_flags: disable brp-strip-lto to avoid strip timestamp warnings
This commit is contained in:
parent
b47d44f086
commit
57481f9394
@ -7,7 +7,7 @@
|
||||
%endif
|
||||
|
||||
Name: ghc-rpm-macros
|
||||
Version: 2.3.14
|
||||
Version: 2.3.15
|
||||
Release: 1%{?dist}
|
||||
Summary: RPM macros for building Haskell packages for GHC
|
||||
|
||||
@ -184,6 +184,9 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Mar 10 2022 Jens Petersen <petersen@redhat.com> - 2.3.15-1
|
||||
- ghc_set_gcc_flags: disable brp-strip-lto to avoid strip timestamp warnings
|
||||
|
||||
* Sat Feb 12 2022 Jens Petersen <petersen@redhat.com> - 2.3.14-1
|
||||
- ghc_set_gcc_flags: also sed CFLAGS when preset in F36
|
||||
because of https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck
|
||||
|
@ -12,6 +12,7 @@ LANG=C.utf8\
|
||||
|
||||
%ghc_set_gcc_flags\
|
||||
%global _lto_cflags %{nil}\
|
||||
%global __brp_strip_lto %{nil}\
|
||||
# -Wunused-label is extremely noisy\
|
||||
%ifarch s390x\
|
||||
CFLAGS="$(echo ${CFLAGS:-%optflags} | sed -e 's/-Wall //' -e 's/-Werror=format-security //')"\
|
||||
|
Loading…
Reference in New Issue
Block a user