[PATCH] CHECKFLAGS on ppc64 got broken
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>
Wed, 7 Sep 2005 22:28:32 +0000 (23:28 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 8 Sep 2005 00:17:34 +0000 (17:17 -0700)
Now that asm-powerpc/* is using ifdefs on __powerpc64__ we need to add it
to CHECKFLAGS on ppc64.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/Makefile

index 6350cce..8189953 100644 (file)
@@ -49,7 +49,7 @@ NM            := $(NM) --synthetic
 
 endif
 
-CHECKFLAGS     += -m64 -D__powerpc__
+CHECKFLAGS     += -m64 -D__powerpc__ -D__powerpc64__
 
 LDFLAGS                := -m elf64ppc
 LDFLAGS_vmlinux        := -Bstatic -e $(KERNELLOAD) -Ttext $(KERNELLOAD)