--- arch/sparc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index 8496a074b..a42aa114e 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile @@ -14,12 +14,13 @@ else KBUILD_DEFCONFIG := sparc64_defconfig endif +CHECKFLAGS += -D__sparc__ + ifeq ($(CONFIG_SPARC32),y) ##### # sparc32 # -CHECKFLAGS += -D__sparc__ LDFLAGS := -m elf32_sparc export BITS := 32 UTS_MACHINE := sparc @@ -38,7 +39,7 @@ else # sparc64 # -CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64 +CHECKFLAGS += -D__sparc_v9__ -D__arch64__ -m64 LDFLAGS := -m elf64_sparc export BITS := 64 UTS_MACHINE := sparc64 -- 2.14.0 -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html