Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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