diff options
Diffstat (limited to 'arch/um/sys-x86_64/Makefile')
-rw-r--r-- | arch/um/sys-x86_64/Makefile | 10 |
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 | ||
17 | ldt-y = ../sys-i386/ldt.o | 17 | ldt-y = ../sys-i386/ldt.o |
18 | 18 | ||
19 | USER_OBJS := ptrace_user.o sigcontext.o stub_segv.o | 19 | USER_OBJS := ptrace_user.o sigcontext.o |
20 | 20 | ||
21 | USER_OBJS += user-offsets.s | 21 | USER_OBJS += user-offsets.s |
22 | extra-y += user-offsets.s | 22 | extra-y += user-offsets.s |
23 | 23 | ||
24 | CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING) | ||
25 | |||
26 | extra-$(CONFIG_MODE_TT) += unmap.o | 24 | extra-$(CONFIG_MODE_TT) += unmap.o |
27 | 25 | ||
26 | UNPROFILE_OBJS := stub_segv.o | ||
27 | CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING) | ||
28 | |||
28 | include arch/um/scripts/Makefile.rules | 29 | include 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)) | ||