diff options
Diffstat (limited to 'arch/um/sys-i386/Makefile')
-rw-r--r-- | arch/um/sys-i386/Makefile | 10 |
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 | |||
8 | subarch-obj-$(CONFIG_HIGHMEM) += mm/highmem.o | 8 | subarch-obj-$(CONFIG_HIGHMEM) += mm/highmem.o |
9 | subarch-obj-$(CONFIG_MODULES) += kernel/module.o | 9 | subarch-obj-$(CONFIG_MODULES) += kernel/module.o |
10 | 10 | ||
11 | USER_OBJS := bugs.o ptrace_user.o sigcontext.o fault.o stub_segv.o | 11 | USER_OBJS := bugs.o ptrace_user.o sigcontext.o fault.o |
12 | 12 | ||
13 | USER_OBJS += user-offsets.s | 13 | USER_OBJS += user-offsets.s |
14 | extra-y += user-offsets.s | 14 | extra-y += user-offsets.s |
15 | 15 | ||
16 | CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING) | ||
17 | |||
18 | extra-$(CONFIG_MODE_TT) += unmap.o | 16 | extra-$(CONFIG_MODE_TT) += unmap.o |
19 | 17 | ||
18 | UNPROFILE_OBJS := stub_segv.o | ||
19 | CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING) | ||
20 | |||
20 | include arch/um/scripts/Makefile.rules | 21 | include 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)) | ||