diff --git a/elfutils.changes b/elfutils.changes
index 5d1da83..de48140 100644
--- a/elfutils.changes
+++ b/elfutils.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Jan 20 12:16:31 UTC 2021 - Martin Liška <mliska@suse.cz>
+
+- Enable LTO (boo#1138796) for elfutils.spec.
+
 -------------------------------------------------------------------
 Mon Nov 30 12:03:29 UTC 2020 - Martin Liška <mliska@suse.cz>
 
diff --git a/elfutils.spec b/elfutils.spec
index ef61a76..408b97a 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -138,7 +138,7 @@ The package is dummy.
 %autosetup -p1
 
 %build
-%global _lto_cflags %{nil}
+%global _lto_cflags %{_lto_cflags} -flto-partition=none -Wno-error=stack-usage= -ffat-lto-objects
 # Change DATE/TIME macros to use last change time of elfutils.changes
 # See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html
 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"