diff options
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r-- | arch/um/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index 4fc79f3030e4..3474b105ee6d 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -66,6 +66,8 @@ include $(srctree)/$(ARCH_DIR)/Makefile-$(SUBARCH) | |||
66 | #This will adjust *FLAGS accordingly to the platform. | 66 | #This will adjust *FLAGS accordingly to the platform. |
67 | include $(srctree)/$(ARCH_DIR)/Makefile-os-$(OS) | 67 | include $(srctree)/$(ARCH_DIR)/Makefile-os-$(OS) |
68 | 68 | ||
69 | KBUILD_CPPFLAGS += -I$(srctree)/arch/$(HEADER_ARCH)/include | ||
70 | |||
69 | # -Derrno=kernel_errno - This turns all kernel references to errno into | 71 | # -Derrno=kernel_errno - This turns all kernel references to errno into |
70 | # kernel_errno to separate them from the libc errno. This allows -fno-common | 72 | # kernel_errno to separate them from the libc errno. This allows -fno-common |
71 | # in KBUILD_CFLAGS. Otherwise, it would cause ld to complain about the two different | 73 | # in KBUILD_CFLAGS. Otherwise, it would cause ld to complain about the two different |