Enable LTO again

Binutils have potential fix for TEXTRELs.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-05-11 09:53:19 +03:00
parent f709f832ce
commit 3e271937ef
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 1 additions and 5 deletions

View File

@ -19,11 +19,7 @@
# e.g. when re-building cryptsetup on a json-c SONAME-bump.
%bcond_with bootstrap
%bcond_without tests
%ifnarch riscv64
%bcond_without lto
%else
%bcond_with lto
%endif
# Support for quick builds with rpmbuild --build-in-place.
# See README.build-in-place.
@ -37,7 +33,7 @@ Version: 253.2
# determine the build information from local checkout
Version: %(tools/meson-vcs-tag.sh . error | sed -r 's/-([0-9])/.^\1/; s/-g/_g/')
%endif
Release: %autorelease -e 6.riscv64
Release: %autorelease -e 7.riscv64
%global stable %(c="%version"; [ "$c" = "${c#*.*}" ]; echo $?)