aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/sys-x86_64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-x86_64/Makefile')
-rw-r--r--arch/um/sys-x86_64/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/um/sys-x86_64/Makefile b/arch/um/sys-x86_64/Makefile
index 6d3b29c74533..c19794d435d6 100644
--- a/arch/um/sys-x86_64/Makefile
+++ b/arch/um/sys-x86_64/Makefile
@@ -16,16 +16,16 @@ subarch-obj-$(CONFIG_MODULES) += kernel/module.o
16 16
17ldt-y = ../sys-i386/ldt.o 17ldt-y = ../sys-i386/ldt.o
18 18
19USER_OBJS := ptrace_user.o sigcontext.o stub_segv.o 19USER_OBJS := ptrace_user.o sigcontext.o
20 20
21USER_OBJS += user-offsets.s 21USER_OBJS += user-offsets.s
22extra-y += user-offsets.s 22extra-y += user-offsets.s
23 23
24CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
25
26extra-$(CONFIG_MODE_TT) += unmap.o 24extra-$(CONFIG_MODE_TT) += unmap.o
27 25
26UNPROFILE_OBJS := stub_segv.o
27CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
28
28include arch/um/scripts/Makefile.rules 29include arch/um/scripts/Makefile.rules
29 30
30$(obj)/stub_segv.o $(obj)/unmap.o: \ 31$(obj)/unmap.%: _c_flags = $(call unprofile,$(CFLAGS))
31 _c_flags = $(call unprofile,$(CFLAGS))