diff options
author | Brian Gerst <brgerst@gmail.com> | 2021-05-24 14:17:07 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-05-25 16:59:23 +0200 |
commit | 48f7eee81cd53a94699d28959566b41a9dcac1d9 (patch) | |
tree | ccbf7dc66f7726db6d86319e4c9cf62479789008 /arch/x86/entry/Makefile | |
parent | fd9e8691f38712892fa2ac73132dcc8b85b07a8f (diff) | |
download | linux-48f7eee81cd53a94699d28959566b41a9dcac1d9.tar.bz2 |
x86/syscalls: Don't adjust CFLAGS for syscall tables
The syscall_*.c files only contain data (the syscall tables). There
is no need to adjust CFLAGS for tracing and stack protector since they
contain no code.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210524181707.132844-4-brgerst@gmail.com
Diffstat (limited to 'arch/x86/entry/Makefile')
-rw-r--r-- | arch/x86/entry/Makefile | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/entry/Makefile b/arch/x86/entry/Makefile index 94d2843ce80c..7fec5dcf6438 100644 --- a/arch/x86/entry/Makefile +++ b/arch/x86/entry/Makefile @@ -8,14 +8,8 @@ UBSAN_SANITIZE := n KCOV_INSTRUMENT := n CFLAGS_REMOVE_common.o = $(CC_FLAGS_FTRACE) -CFLAGS_REMOVE_syscall_64.o = $(CC_FLAGS_FTRACE) -CFLAGS_REMOVE_syscall_32.o = $(CC_FLAGS_FTRACE) -CFLAGS_REMOVE_syscall_x32.o = $(CC_FLAGS_FTRACE) CFLAGS_common.o += -fno-stack-protector -CFLAGS_syscall_64.o += -fno-stack-protector -CFLAGS_syscall_32.o += -fno-stack-protector -CFLAGS_syscall_x32.o += -fno-stack-protector obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o obj-y += common.o |