[OS-BUILD PATCHv4 2/4] redhat/configs: Enable CONFIG_GCC_PLUGINS on ARK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

Enable CONFIG_GCC_PLUGINS on ARK so CONFIG_GCC_PLUGIN_STRUCTLEAK can be
enabled.

Fedora already has CONFIG_GCC_PLUGINS, so move it to the common
directory so it can be shared with ARK.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1856176
Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
---
 redhat/configs/ark/generic/CONFIG_GCC_PLUGINS                | 1 -
 redhat/configs/{fedora => common}/generic/CONFIG_GCC_PLUGINS | 0
 redhat/kernel.spec.template                                  | 1 +
 3 files changed, 1 insertion(+), 1 deletion(-)
 delete mode 100644 redhat/configs/ark/generic/CONFIG_GCC_PLUGINS
 rename redhat/configs/{fedora => common}/generic/CONFIG_GCC_PLUGINS (100%)

diff --git a/redhat/configs/ark/generic/CONFIG_GCC_PLUGINS b/redhat/configs/ark/generic/CONFIG_GCC_PLUGINS
deleted file mode 100644
index 072e253edbeb..000000000000
--- a/redhat/configs/ark/generic/CONFIG_GCC_PLUGINS
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_GCC_PLUGINS is not set
diff --git a/redhat/configs/fedora/generic/CONFIG_GCC_PLUGINS b/redhat/configs/common/generic/CONFIG_GCC_PLUGINS
similarity index 100%
rename from redhat/configs/fedora/generic/CONFIG_GCC_PLUGINS
rename to redhat/configs/common/generic/CONFIG_GCC_PLUGINS
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index ba7f54cd778a..23c17fae15bb 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -505,6 +505,7 @@ BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex
 BuildRequires: net-tools, hostname, bc, elfutils-devel
 BuildRequires: dwarves
 BuildRequires: python3-devel
+BuildRequires: gcc-plugin-devel
 %if %{with_headers}
 BuildRequires: rsync
 %endif
-- 
GitLab
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux