Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
2 | |||||
3 | # Prevent the noinstr section from being pestered by sanitizer and other goodies | ||||
4 | # as long as these things cannot be disabled per function. | ||||
5 | KASAN_SANITIZE := n | ||||
6 | UBSAN_SANITIZE := n | ||||
7 | KCOV_INSTRUMENT := n | ||||
8 | |||||
9 | CFLAGS_REMOVE_common.o = -fstack-protector -fstack-protector-strong | ||||
10 | CFLAGS_common.o += -fno-stack-protector | ||||
11 | |||||
12 | obj-$(CONFIG_GENERIC_ENTRY) += common.o | ||||
13 | obj-$(CONFIG_KVM_XFER_TO_GUEST_WORK) += kvm.o |