gcc-plugins/structleak: add makefile var for disabling structleak
authorBrendan Higgins <brendanhiggins@google.com>
Wed, 29 Sep 2021 21:27:09 +0000 (14:27 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 6 Oct 2021 23:53:29 +0000 (17:53 -0600)
commit554afc3b9797511e3245864e32aebeb6abbab1e3
tree2109247777ab559de684c5d7d3b277e85ded08eb
parentf62314b1ced25c58b86e044fc951cd6a1ea234cf
gcc-plugins/structleak: add makefile var for disabling structleak

KUnit and structleak don't play nice, so add a makefile variable for
enabling structleak when it complains.

Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
scripts/Makefile.gcc-plugins