summaryrefslogtreecommitdiff
path: root/arch/um/Makefile-x86_64
diff options
context:
space:
mode:
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>2005-09-09 20:14:12 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 21:31:58 +0400
commit2624f124b3b5d550ab2fbef7ee3bc0e1fed09722 (patch)
tree797db769b24e29d17f8412d8b7e3e4afafc794b1 /arch/um/Makefile-x86_64
parentf91f4d923f4039bf3460eca299ed5a3f7ecd7b96 (diff)
downloadlinux-2624f124b3b5d550ab2fbef7ee3bc0e1fed09722.tar.xz
[PATCH] sparse on uml (infrastructure bits)
Passes -m64 to sparse on uml/amd64, tells sparse to stay out of USER_OBJS. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/Makefile-x86_64')
-rw-r--r--arch/um/Makefile-x86_641
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/Makefile-x86_64 b/arch/um/Makefile-x86_64
index baddb5d64ca5..436abbba409b 100644
--- a/arch/um/Makefile-x86_64
+++ b/arch/um/Makefile-x86_64
@@ -8,6 +8,7 @@ START := 0x60000000
#it's needed for headers to work!
CFLAGS += -U__$(SUBARCH)__ -fno-builtin
USER_CFLAGS += -fno-builtin
+CHECKFLAGS += -m64
ELF_ARCH := i386:x86-64
ELF_FORMAT := elf64-x86-64