diff --git a/qemu.spec b/qemu.spec
index 6bf673c..409d1dd 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -194,7 +194,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 5.1.0
-Release: 5%{?rcrel}%{?dist}
+Release: 6%{?rcrel}%{?dist}
 Epoch: 2
 License: GPLv2 and BSD and MIT and CC-BY
 URL: http://www.qemu.org/
@@ -1015,9 +1015,6 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/qemu-trace-stap
 
 
 %build
-# Disable LTO since it caused lots of strange assert failures.
-%define _lto_cflags %{nil}
-
 # OOM killer breaks builds with parallel make on s390(x)
 %ifarch s390x
 %global _smp_mflags %{nil}
@@ -1911,6 +1908,9 @@ getent passwd qemu >/dev/null || \
 
 
 %changelog
+* Mon Oct 26 2020 Daniel P. Berrangé <berrange@redhat.com> - 5.1.0-6
+- Re-enable LTO since tests now pass without asserts
+
 * Fri Sep  4 2020 Daniel P. Berrangé <berrange@redhat.com> - 5.1.0-5
 - Drop conditions for ppc, ppc64, mips64 and s390 arches
 - Fix host qemu binary path for aarch64