aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/sys-i386
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-i386')
-rw-r--r--arch/um/sys-i386/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/um/sys-i386/Makefile b/arch/um/sys-i386/Makefile
index 3734c3eb15a4..374d61a19439 100644
--- a/arch/um/sys-i386/Makefile
+++ b/arch/um/sys-i386/Makefile
@@ -8,16 +8,16 @@ subarch-obj-y = lib/bitops.o kernel/semaphore.o
8subarch-obj-$(CONFIG_HIGHMEM) += mm/highmem.o 8subarch-obj-$(CONFIG_HIGHMEM) += mm/highmem.o
9subarch-obj-$(CONFIG_MODULES) += kernel/module.o 9subarch-obj-$(CONFIG_MODULES) += kernel/module.o
10 10
11USER_OBJS := bugs.o ptrace_user.o sigcontext.o fault.o stub_segv.o 11USER_OBJS := bugs.o ptrace_user.o sigcontext.o fault.o
12 12
13USER_OBJS += user-offsets.s 13USER_OBJS += user-offsets.s
14extra-y += user-offsets.s 14extra-y += user-offsets.s
15 15
16CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
17
18extra-$(CONFIG_MODE_TT) += unmap.o 16extra-$(CONFIG_MODE_TT) += unmap.o
19 17
18UNPROFILE_OBJS := stub_segv.o
19CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
20
20include arch/um/scripts/Makefile.rules 21include arch/um/scripts/Makefile.rules
21 22
22$(obj)/stub_segv.o $(obj)/unmap.o: \ 23$(obj)/unmap.%: _c_flags = $(call unprofile,$(CFLAGS))
23 _c_flags = $(call unprofile,$(CFLAGS))