Enable LTO

Resolves: #1994993
This commit is contained in:
Michal Schorm 2021-12-01 14:27:13 +01:00
parent 9fa16bbecc
commit 643c233529

View File

@ -803,11 +803,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