diff options
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r-- | arch/um/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index 82c2ac48040d..768a5d14b755 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -70,9 +70,12 @@ include $(srctree)/$(ARCH_DIR)/Makefile-os-$(OS) | |||
70 | # in KBUILD_CFLAGS. Otherwise, it would cause ld to complain about the two different | 70 | # in KBUILD_CFLAGS. Otherwise, it would cause ld to complain about the two different |
71 | # errnos. | 71 | # errnos. |
72 | # These apply to kernelspace only. | 72 | # These apply to kernelspace only. |
73 | # | ||
74 | # strip leading and trailing whitespace to make the USER_CFLAGS removal of these | ||
75 | # defines more robust | ||
73 | 76 | ||
74 | KERNEL_DEFINES = -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask \ | 77 | KERNEL_DEFINES = $(strip -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask \ |
75 | -Dmktime=kernel_mktime $(ARCH_KERNEL_DEFINES) | 78 | -Dmktime=kernel_mktime $(ARCH_KERNEL_DEFINES)) |
76 | KBUILD_CFLAGS += $(KERNEL_DEFINES) | 79 | KBUILD_CFLAGS += $(KERNEL_DEFINES) |
77 | KBUILD_CFLAGS += $(call cc-option,-fno-unit-at-a-time,) | 80 | KBUILD_CFLAGS += $(call cc-option,-fno-unit-at-a-time,) |
78 | 81 | ||