]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - Makefile
randstruct: Split randstruct Makefile and CFLAGS
authorKees Cook <keescook@chromium.org>
Tue, 3 May 2022 20:55:01 +0000 (13:55 -0700)
committerKees Cook <keescook@chromium.org>
Sun, 8 May 2022 08:33:06 +0000 (01:33 -0700)
commit613f4b3ed7902d1dbbc6ade6401e452a63dfbc21
treef8a8d15ab7e7ae882472e52960c7cc6f2ad3d235
parent595b893e2087de306d0781795fb8ec47873596a6
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
Makefile
arch/arm/vdso/Makefile
arch/arm64/kernel/vdso/Makefile
arch/sparc/vdso/Makefile
arch/x86/entry/vdso/Makefile
scripts/Makefile.gcc-plugins
scripts/Makefile.randstruct [new file with mode: 0644]