summaryrefslogtreecommitdiffstats
path: root/0001-Filter-out-LTO-build-options-from-the-perl-ccopts.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-10-07 09:54:44 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-10-07 09:54:44 -0500
commitf7a55ba381de17d8e5511a97441944b797aa62a5 (patch)
treedf2cb85063e94e396b776ea25c0e4b5f9f286c39 /0001-Filter-out-LTO-build-options-from-the-perl-ccopts.patch
parent5f7d08ee5f8b230f5dfb20783ec265ef40387520 (diff)
downloadkernel-f7a55ba381de17d8e5511a97441944b797aa62a5.tar.gz
kernel-f7a55ba381de17d8e5511a97441944b797aa62a5.tar.xz
kernel-f7a55ba381de17d8e5511a97441944b797aa62a5.zip
kernel-5.9.0-0.rc8.20201007git7575fdda569b.29
* Wed Oct 07 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc8.20201007git7575fdda569b.29] - Merge ark-patches Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to '0001-Filter-out-LTO-build-options-from-the-perl-ccopts.patch')
-rw-r--r--0001-Filter-out-LTO-build-options-from-the-perl-ccopts.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/0001-Filter-out-LTO-build-options-from-the-perl-ccopts.patch b/0001-Filter-out-LTO-build-options-from-the-perl-ccopts.patch
deleted file mode 100644
index 8967ad4c1..000000000
--- a/0001-Filter-out-LTO-build-options-from-the-perl-ccopts.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: "Justin M. Forbes" <jforbes@fedoraproject.org>
-Date: Thu, 10 Sep 2020 16:39:54 -0500
-Subject: [PATCH] Filter out LTO build options from the perl ccopts
-
-Kernel tools currently does not build with LTO options enabled. We can
-turn off the option in most places through the spec file, but for the
-perl bindings, it auto detects what perl was built with and uses those.
-This patch will filter out the lto options allowing kernel-tools
-packages to build correctly. I expect this patch to go away when the
-LTO issues are worked out upstream.
-
-Upstream Status: Red Hat only
-
-Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
----
- tools/perf/Makefile.config | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
-index 190be4fa5c21..28beab03575a 100644
---- a/tools/perf/Makefile.config
-+++ b/tools/perf/Makefile.config
-@@ -748,6 +748,7 @@ else
- PERL_EMBED_LIBADD = $(call grep-libs,$(PERL_EMBED_LDOPTS))
- PERL_EMBED_CCOPTS = $(shell perl -MExtUtils::Embed -e ccopts 2>/dev/null)
- PERL_EMBED_CCOPTS := $(filter-out -specs=%,$(PERL_EMBED_CCOPTS))
-+ PERL_EMBED_CCOPTS := $(filter-out -flto=auto -ffat-lto-objects, $(PERL_EMBED_CCOPTS))
- PERL_EMBED_LDOPTS := $(filter-out -specs=%,$(PERL_EMBED_LDOPTS))
- FLAGS_PERL_EMBED=$(PERL_EMBED_CCOPTS) $(PERL_EMBED_LDOPTS)
-
---
-2.28.0
-