From 643c233529588b032648d871ffc1e217a46ee351 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Wed, 1 Dec 2021 14:27:13 +0100 Subject: [PATCH] Enable LTO Resolves: #1994993 --- mariadb.spec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index 2e3dfaa..77d1f60 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -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