xref: /linux-6.12.1/scripts/Makefile.randstruct
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0
2
3randstruct-cflags-y += -DRANDSTRUCT
4
5ifdef CONFIG_GCC_PLUGIN_RANDSTRUCT
6randstruct-cflags-y	\
7	+= -fplugin=$(objtree)/scripts/gcc-plugins/randomize_layout_plugin.so
8randstruct-cflags-$(CONFIG_RANDSTRUCT_PERFORMANCE)		\
9	+= -fplugin-arg-randomize_layout_plugin-performance-mode
10else
11randstruct-cflags-y	\
12	+= -frandomize-layout-seed-file=$(objtree)/scripts/basic/randstruct.seed
13endif
14
15export RANDSTRUCT_CFLAGS := $(randstruct-cflags-y)
16
17KBUILD_CFLAGS	+= $(RANDSTRUCT_CFLAGS)
18

served by {OpenGrok

Last Index Update: Sun Jun 08 03:07:08 UTC 2025

Navigate Window
x
Scopes Window
x
Intelligence window
x
Next >> | << Prev


In current file
  • Highlight
  • Unhighlight
  • Unhighlight all
In project "undefined"
  • Search for definitions of
  • Search for references of
  • Do a full search with
  • Search for file names that contain
On Google
  • Google
Messages Window
x