diff options
author | Kees Cook <keescook@chromium.org> | 2022-05-03 13:55:01 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-05-08 01:33:06 -0700 |
commit | 613f4b3ed7902d1dbbc6ade6401e452a63dfbc21 (patch) | |
tree | f8a8d15ab7e7ae882472e52960c7cc6f2ad3d235 /Makefile | |
parent | 595b893e2087de306d0781795fb8ec47873596a6 (diff) | |
download | linux-rpi-613f4b3ed7902d1dbbc6ade6401e452a63dfbc21.tar.gz linux-rpi-613f4b3ed7902d1dbbc6ade6401e452a63dfbc21.tar.bz2 linux-rpi-613f4b3ed7902d1dbbc6ade6401e452a63dfbc21.zip |
randstruct: Split randstruct Makefile and CFLAGS
To enable the new Clang randstruct implementation[1], move
randstruct into its own Makefile and split the CFLAGS from
GCC_PLUGINS_CFLAGS into RANDSTRUCT_CFLAGS.
[1] https://reviews.llvm.org/D121556
Cc: linux-hardening@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220503205503.3054173-5-keescook@chromium.org
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1011,6 +1011,7 @@ include-$(CONFIG_KASAN) += scripts/Makefile.kasan include-$(CONFIG_KCSAN) += scripts/Makefile.kcsan include-$(CONFIG_UBSAN) += scripts/Makefile.ubsan include-$(CONFIG_KCOV) += scripts/Makefile.kcov +include-$(CONFIG_RANDSTRUCT) += scripts/Makefile.randstruct include-$(CONFIG_GCC_PLUGINS) += scripts/Makefile.gcc-plugins include $(addprefix $(srctree)/, $(include-y)) |