From 23822d7ce304ff07316f4668a7a3b584e3e70812 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Wed, 1 Dec 2021 14:27:13 +0100 Subject: [PATCH] Enable LTO Resolves: #1986172 --- mariadb.spec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index 6b176ce..12cfbdd 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -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