enable LTO on s390x

Update clknetsim to fix test failure on s390x with enabled LTO.
This commit is contained in:
Miroslav Lichvar 2021-03-25 15:37:59 +01:00
parent b1f5ca1523
commit c3c3f0c2dd
3 changed files with 3 additions and 8 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
/chrony-4.0.tar.gz
/chrony-4.0-tar-gz-asc.txt
/clknetsim-c4ccc2.tar.gz
/clknetsim-1ca4a9.tar.gz

View File

@ -1,5 +1,5 @@
%global _hardened_build 1
%global clknetsim_ver c4ccc2
%global clknetsim_ver 1ca4a9
%bcond_without debug
%bcond_without nts
@ -90,11 +90,6 @@ rm -f getdate.c
mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim
%build
# This package fails its testsuite when LTO is enabled on s390x
# Disable LTO for now
%ifarch s390x
%define _lto_cflags %{nil}
%endif
%configure \
%{?with_debug: --enable-debug} \
--enable-ntp-signd \

View File

@ -1,3 +1,3 @@
SHA512 (chrony-4.0.tar.gz) = a1c11a386c43f495910f7f2e9b5fbb1652c3631471d182b9b8203dfef98611d11535ad547a879856551263aed0ae2e30e4135b8ed89553684706166bc1c725c9
SHA512 (chrony-4.0-tar-gz-asc.txt) = c3156d91f4fdb6f9e2fdbc83b1399afb0ecdfa9b7bc92648c5bce477c3f0f921d2a13aa21ac6c281f18b008c60f08e3db6d82b642b646f064aea1dbe19295c4c
SHA512 (clknetsim-c4ccc2.tar.gz) = d2f71b2036e33ee92cd3590079dac04bc57bf2e9909f11e9ba66cd61c9946e92d2ebbdfd03c359cf39c6c8c07b28557d35fee3cb57eec75f5b1201858aa1d701
SHA512 (clknetsim-1ca4a9.tar.gz) = 23c74ad9eadd3e09209bf0826901fefb1d11d210a882e15e83f0ef5903ea3d3fdce6859ac2cd9021485aef9d6771a609aa339af9ce4448522605c88b512c8943