]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sparc64/Makefile
pnp: remove printk() with outdated version
[linux-2.6-omap-h63xx.git] / arch / sparc64 / Makefile
index 4b8f2b084c21f35ee0932f08836a9c0f7cda5164..c7214abc0d84f9b8e2c4c591fc0256e77da1638e 100644 (file)
@@ -7,9 +7,11 @@
 # Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz)
 #
 
-CHECKFLAGS     += -D__sparc__ -D__sparc_v9__ -m64
+CHECKFLAGS     += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64
 
-CPPFLAGS_vmlinux.lds += -Usparc
+# Undefine sparc when processing vmlinux.lds - it is used
+# And teach CPP we are doing 64 bit builds (for this case)
+CPPFLAGS_vmlinux.lds += -m64 -Usparc
 
 LDFLAGS                := -m elf64_sparc