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
Showing
- Makefile 1 addition, 0 deletionsMakefile
- arch/arm/vdso/Makefile 1 addition, 1 deletionarch/arm/vdso/Makefile
- arch/arm64/kernel/vdso/Makefile 2 additions, 1 deletionarch/arm64/kernel/vdso/Makefile
- arch/sparc/vdso/Makefile 2 additions, 1 deletionarch/sparc/vdso/Makefile
- arch/x86/entry/vdso/Makefile 2 additions, 1 deletionarch/x86/entry/vdso/Makefile
- scripts/Makefile.gcc-plugins 2 additions, 6 deletionsscripts/Makefile.gcc-plugins
- scripts/Makefile.randstruct 14 additions, 0 deletionsscripts/Makefile.randstruct
Loading
Please register or sign in to comment