summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-headers-lts/files/config-disable-gcc-plugins.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux-headers-lts/files/config-disable-gcc-plugins.patch')
-rw-r--r--sys-kernel/linux-headers-lts/files/config-disable-gcc-plugins.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers-lts/files/config-disable-gcc-plugins.patch b/sys-kernel/linux-headers-lts/files/config-disable-gcc-plugins.patch
new file mode 100644
index 00000000..c07fa548
--- /dev/null
+++ b/sys-kernel/linux-headers-lts/files/config-disable-gcc-plugins.patch
@@ -0,0 +1,18 @@
+diff -Nur a/redcore/config/redcore-lts-4.14-amd64.config b/redcore/config/redcore-lts-4.14-amd64.config
+--- a/redcore/config/redcore-lts-4.14-amd64.config 2017-12-21 14:39:21.000000000 +0000
++++ b/redcore/config/redcore-lts-4.14-amd64.config 2017-12-23 15:45:07.246689490 +0000
+@@ -305,13 +305,7 @@
+ CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
+ CONFIG_SECCOMP_FILTER=y
+ CONFIG_HAVE_GCC_PLUGINS=y
+-CONFIG_GCC_PLUGINS=y
+-CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y
+-CONFIG_GCC_PLUGIN_STRUCTLEAK=y
+-CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y
+-# CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set
+-CONFIG_GCC_PLUGIN_RANDSTRUCT=y
+-CONFIG_GCC_PLUGIN_RANDSTRUCT_PERFORMANCE=y
++# CONFIG_GCC_PLUGINS is not set
+ CONFIG_HAVE_CC_STACKPROTECTOR=y
+ CONFIG_CC_STACKPROTECTOR=y
+ # CONFIG_CC_STACKPROTECTOR_NONE is not set