On Wed, Oct 28, 2020 at 03:23:03AM -0000, GitLab Bridge on behalf of dzickusrh wrote:
From: Don Zickus <dzickus(a)redhat.com>
(...)
Cc: Jeff Law <law(a)redhat.com>
Signed-off-by: Don Zickus <dzickus(a)redhat.com>
---
redhat/kernel.spec.template | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index 7cbfb9c139eb..439c22be33c9 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -1,5 +1,4 @@
-# We have to override the new %%install behavior because, well... the kernel is
special.
-%global __spec_install_pre %{___build_pre}
+%global _lto_cflags %{nil}
# Short-term fix so the package builds with GCC 10.
# This should go away soon.
Acked-by: Herton R. Krzesinski <herton(a)redhat.com>
--
[]'s
Herton