aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-03-15 09:17:54 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-03-15 09:17:54 -0300
commit689bb69093d7ac9e12ab058ba2611ad5eb9347c3 (patch)
treeabb9131ea54d7c9df78e192b31a0c09635f8acab /scripts/gcc-plugins
parentperf synthetic events: Avoid write of uninitialized memory when generating PERF_RECORD_MMAP* records (diff)
parentLinux 5.12-rc3 (diff)
downloadlinux-rng-689bb69093d7ac9e12ab058ba2611ad5eb9347c3.tar.xz
linux-rng-689bb69093d7ac9e12ab058ba2611ad5eb9347c3.zip
Merge remote-tracking branch 'torvalds/master' into perf/urgent
To update kernel headers and check if some need syncing. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins')
-rw-r--r--scripts/gcc-plugins/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile
index b5487cce69e8..1952d3bb80c6 100644
--- a/scripts/gcc-plugins/Makefile
+++ b/scripts/gcc-plugins/Makefile
@@ -22,6 +22,7 @@ always-y += $(GCC_PLUGIN)
GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin)
plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \
+ -include $(srctree)/include/linux/compiler-version.h \
-I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++11 \
-fno-rtti -fno-exceptions -fasynchronous-unwind-tables \
-ggdb -Wno-narrowing -Wno-unused-variable \