Makefile (3daee2e4b3568f0ed88b0598df96547fcf21cb9b) | Makefile (14c3ec67236b2d90c553d2575950369aa6fa43c5) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# This file was copied from arm64/kernel/pi/Makefile. 3 4KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \ 5 -Os -DDISABLE_BRANCH_PROFILING $(DISABLE_STACKLEAK_PLUGIN) \ 6 $(call cc-option,-mbranch-protection=none) \ 7 -I$(srctree)/scripts/dtc/libfdt -fno-stack-protector \ | 1# SPDX-License-Identifier: GPL-2.0 2# This file was copied from arm64/kernel/pi/Makefile. 3 4KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) -fpie \ 5 -Os -DDISABLE_BRANCH_PROFILING $(DISABLE_STACKLEAK_PLUGIN) \ 6 $(call cc-option,-mbranch-protection=none) \ 7 -I$(srctree)/scripts/dtc/libfdt -fno-stack-protector \ |
8 -include $(srctree)/include/linux/hidden.h \ |
|
8 -D__DISABLE_EXPORTS -ffreestanding \ 9 -fno-asynchronous-unwind-tables -fno-unwind-tables \ 10 $(call cc-option,-fno-addrsig) 11 12# Disable LTO 13KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) 14 15KBUILD_CFLAGS += -mcmodel=medany --- 21 unchanged lines hidden --- | 9 -D__DISABLE_EXPORTS -ffreestanding \ 10 -fno-asynchronous-unwind-tables -fno-unwind-tables \ 11 $(call cc-option,-fno-addrsig) 12 13# Disable LTO 14KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_LTO), $(KBUILD_CFLAGS)) 15 16KBUILD_CFLAGS += -mcmodel=medany --- 21 unchanged lines hidden --- |