Skip to content

Commit 65d59ec

Browse files
ephox-gcc-pluginskees
authored andcommitted
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 <[email protected]> Signed-off-by: Kees Cook <[email protected]>
1 parent ed58c0e commit 65d59ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile.gcc-plugins

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ifdef CONFIG_GCC_PLUGINS
1919
endif
2020
endif
2121

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))
2323

2424
export PLUGINCC GCC_PLUGINS_CFLAGS GCC_PLUGIN SANCOV_PLUGIN
2525

0 commit comments

Comments
 (0)