diff options
author | Emese Revfy <re.emese@gmail.com> | 2016-06-20 14:40:24 -0400 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-08-08 20:49:05 -0400 |
commit | 65d59ec8ad99e9d932ccca4daabb8e3fdafeb11b (patch) | |
tree | 06d04f3797b8226c5964ed09ec96659db1ae7138 /scripts/Makefile.gcc-plugins | |
parent | ed58c0e9eefef517aa5a547b78658e2ab4422232 (diff) |
gcc-plugins: Add support for passing plugin arguments
The latent_entropy plugin needs to pass arguments, so this adds the
support.
Signed-off-by: Emese Revfy <re.emese@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'scripts/Makefile.gcc-plugins')
-rw-r--r-- | scripts/Makefile.gcc-plugins | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.gcc-plugins b/scripts/Makefile.gcc-plugins index bbca1f46f6e4..ffb928b9c74b 100644 --- a/scripts/Makefile.gcc-plugins +++ b/scripts/Makefile.gcc-plugins | |||
@@ -19,7 +19,7 @@ ifdef CONFIG_GCC_PLUGINS | |||
19 | endif | 19 | endif |
20 | endif | 20 | endif |
21 | 21 | ||
22 | GCC_PLUGINS_CFLAGS := $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) | 22 | GCC_PLUGINS_CFLAGS := $(strip $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) $(gcc-plugin-cflags-y)) |
23 | 23 | ||
24 | export PLUGINCC GCC_PLUGINS_CFLAGS GCC_PLUGIN SANCOV_PLUGIN | 24 | export PLUGINCC GCC_PLUGINS_CFLAGS GCC_PLUGIN SANCOV_PLUGIN |
25 | 25 | ||