Makefile (7ae9fb1b7ecbb5d85d07857943f677fd1a559b18) Makefile (3dfdc2750c6cdc6a5ebf5effb07f92db761de35d)
1# SPDX-License-Identifier: GPL-2.0
2# Copyright 2022 Google LLC
3
4KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \
5 -Os -DDISABLE_BRANCH_PROFILING $(DISABLE_STACKLEAK_PLUGIN) \
1# SPDX-License-Identifier: GPL-2.0
2# Copyright 2022 Google LLC
3
4KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \
5 -Os -DDISABLE_BRANCH_PROFILING $(DISABLE_STACKLEAK_PLUGIN) \
6 $(DISABLE_LATENT_ENTROPY_PLUGIN) \
6 $(call cc-option,-mbranch-protection=none) \
7 -I$(srctree)/scripts/dtc/libfdt -fno-stack-protector \
8 -include $(srctree)/include/linux/hidden.h \
9 -D__DISABLE_EXPORTS -ffreestanding -D__NO_FORTIFY \
10 -fno-asynchronous-unwind-tables -fno-unwind-tables \
11 $(call cc-option,-fno-addrsig)
12
13# remove SCS flags from all objects in this directory

--- 21 unchanged lines hidden ---
7 $(call cc-option,-mbranch-protection=none) \
8 -I$(srctree)/scripts/dtc/libfdt -fno-stack-protector \
9 -include $(srctree)/include/linux/hidden.h \
10 -D__DISABLE_EXPORTS -ffreestanding -D__NO_FORTIFY \
11 -fno-asynchronous-unwind-tables -fno-unwind-tables \
12 $(call cc-option,-fno-addrsig)
13
14# remove SCS flags from all objects in this directory

--- 21 unchanged lines hidden ---