summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/skas/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/skas/Makefile')
-rw-r--r--arch/um/kernel/skas/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/skas/Makefile b/arch/um/kernel/skas/Makefile
index f6a219074772..3384be42691f 100644
--- a/arch/um/kernel/skas/Makefile
+++ b/arch/um/kernel/skas/Makefile
@@ -24,7 +24,7 @@ $(obj)/stub_exe: $(obj)/stub_exe.dbg FORCE
quiet_cmd_stub_exe = STUB_EXE $@
cmd_stub_exe = $(CC) -nostdlib -o $@ \
- $(KBUILD_CFLAGS) $(STUB_EXE_LDFLAGS) \
+ $(filter-out $(UM_GPROF_OPT) $(UM_GCOV_OPT),$(KBUILD_CFLAGS)) $(STUB_EXE_LDFLAGS) \
$(filter %.o,$^)
STUB_EXE_LDFLAGS = -Wl,-n -static