Skip to content

Commit e56404e

Browse files
a13xp0p0vwilldeacon
authored andcommitted
arm64: vdso: Don't use gcc plugins for building vgettimeofday.c
Don't use gcc plugins for building arch/arm64/kernel/vdso/vgettimeofday.c to avoid unneeded instrumentation. Signed-off-by: Alexander Popov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 49a3b0e commit e56404e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/vdso/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 --hash-style=sysv \
3030
ccflags-y := -fno-common -fno-builtin -fno-stack-protector -ffixed-x18
3131
ccflags-y += -DDISABLE_BRANCH_PROFILING
3232

33-
CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os $(CC_FLAGS_SCS)
33+
CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os $(CC_FLAGS_SCS) $(GCC_PLUGINS_CFLAGS)
3434
KBUILD_CFLAGS += $(DISABLE_LTO)
3535
KASAN_SANITIZE := n
3636
UBSAN_SANITIZE := n

0 commit comments

Comments
 (0)