Disable LTO
This commit is contained in:
parent
6db6ab8b82
commit
13b91ffd44
10
wsjtx.spec
10
wsjtx.spec
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: wsjtx
|
||||
Version: 2.2.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Weak Signal communication by K1JT
|
||||
License: GPLv3+
|
||||
|
||||
|
@ -55,6 +55,11 @@ dos2unix *.ui *.iss *.rc *.txt
|
|||
|
||||
|
||||
%build
|
||||
# The fortran code in this package is not type safe and will thus not work
|
||||
# with LTO. Additionally there are numerous bogus strncat calls that also
|
||||
# need to be fixed for this package to work with LTO
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
# Workaround for build with gcc-10, problem reported upstream
|
||||
export CFLAGS="%{optflags} -fcommon"
|
||||
export LDFLAGS="%{?__global_ldflags}"
|
||||
|
@ -129,6 +134,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 2.2.2-2
|
||||
- Disable LTO
|
||||
|
||||
* Mon Jun 22 2020 Richard Shaw <hobbes1069@gmail.com> - 2.2.2-1
|
||||
- Update to 2.2.2.
|
||||
|
||||
|
|
Loading…
Reference in New Issue