Commit 65d59ec8 authored by Emese Revfy's avatar Emese Revfy Committed by Kees Cook

gcc-plugins: Add support for passing plugin arguments

The latent_entropy plugin needs to pass arguments, so this adds the
support.
Signed-off-by: default avatarEmese Revfy <re.emese@gmail.com>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent ed58c0e9
......@@ -19,7 +19,7 @@ ifdef CONFIG_GCC_PLUGINS
endif
endif
GCC_PLUGINS_CFLAGS := $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y))
GCC_PLUGINS_CFLAGS := $(strip $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) $(gcc-plugin-cflags-y))
export PLUGINCC GCC_PLUGINS_CFLAGS GCC_PLUGIN SANCOV_PLUGIN
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment