From dbc39a8ccf649e8d8e13227520154e940b7b9075 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 14 Jul 2021 06:05:26 -0400 Subject: [PATCH] Disable LTO for now, it breaks the build This is the error I get building locally if LTO is not disabled: Error: invalid attempt to declare external version name as default in symbol `kcapi_memset_secure@@LIBKCAPI_1.3.1' Signed-off-by: Simo Sorce --- libkcapi.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libkcapi.spec b/libkcapi.spec index 917a8f2..39f4b85 100644 --- a/libkcapi.spec +++ b/libkcapi.spec @@ -1,3 +1,5 @@ +%global _lto_cflags %nil + # Shared object version of libkcapi. %global vmajor 1 %global vminor 3