[PATCH] CHECKFLAGS on ppc64 got broken

viro at ZenIV.linux.org.uk viro at ZenIV.linux.org.uk
Thu Sep 8 08:28:32 EST 2005


Now that asm-powerpc/* is using ifdefs on __powerpc64__ we need to add it
to CHECKFLAGS on ppc64.

Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
----
diff -urN RC13-git7-simserial/arch/ppc64/Makefile RC13-git7-ppc64-sparse/arch/ppc64/Makefile
--- RC13-git7-simserial/arch/ppc64/Makefile	2005-09-05 07:05:14.000000000 -0400
+++ RC13-git7-ppc64-sparse/arch/ppc64/Makefile	2005-09-07 13:55:41.000000000 -0400
@@ -49,7 +49,7 @@
 
 endif
 
-CHECKFLAGS	+= -m64 -D__powerpc__
+CHECKFLAGS	+= -m64 -D__powerpc__ -D__powerpc64__
 
 LDFLAGS		:= -m elf64ppc
 LDFLAGS_vmlinux	:= -Bstatic -e $(KERNELLOAD) -Ttext $(KERNELLOAD)



More information about the Linuxppc64-dev mailing list