Enable LTO

Resolves: #1986172
This commit is contained in:
Michal Schorm 2021-12-01 14:27:13 +01:00
parent a76a3c657b
commit 23822d7ce3

View File

@ -805,11 +805,6 @@ fi
%build
# This package has static probe points which do not currently
# work with LTO and result in undefined symbols at link time.
# This is being worked on in upstream GCC
%define _lto_cflags %{nil}
# fail quickly and obviously if user tries to build as root
%if %runselftest
if [ x"$(id -u)" = "x0" ]; then