diff options
| author | Kees Cook <[email protected]> | 2022-05-03 20:54:59 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2022-05-08 08:33:06 +0000 |
| commit | d3646589703731026ae7bcba5731fa7a7d0e5291 (patch) | |
| tree | 195bab037266d8f24363fe6212c7a805c7828918 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | netfs: Eliminate Clang randstruct warning (diff) | |
| download | kernel-d3646589703731026ae7bcba5731fa7a7d0e5291.tar.gz kernel-d3646589703731026ae7bcba5731fa7a7d0e5291.zip | |
sancov: Split plugin build from plugin CFLAGS
When the sancov_plugin is enabled, it gets added to gcc-plugin-y which
is used to populate both GCC_PLUGIN (for building the plugin) and
GCC_PLUGINS_CFLAGS (for enabling and options). Instead of adding sancov
to both and then removing it from GCC_PLUGINS_CFLAGS, create a separate
list, gcc-plugin-external-y, which is only added to GCC_PLUGIN.
This will also be used by the coming randstruct build changes.
Cc: Masahiro Yamada <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
