1 # SPDX-License-Identifier: GPL-2.0 2 3 randstruct-cflags-y += -DRANDSTRUCT 4 5 ifdef CONFIG_GCC_PLUGIN_RANDSTRUCT 6 randstruct-cflags-y \ 7 += -fplugin=$(objtree)/scripts/gcc-plu 8 randstruct-cflags-$(CONFIG_RANDSTRUCT_PERFORMA 9 += -fplugin-arg-randomize_layout_plugi 10 else 11 randstruct-cflags-y \ 12 += -frandomize-layout-seed-file=$(objt 13 endif 14 15 export RANDSTRUCT_CFLAGS := $(randstruct-cflag 16 17 KBUILD_CFLAGS += $(RANDSTRUCT_CFLAGS)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.