Skip to contentSkip to conversation

missing CHECKFLAGS on s390

PATCH New [email protected] 1 participant 1 message Sep 9, 2005 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 missing CHECKFLAGS on s390

----

arch/s390/Makefile +2 -0
diff -urN RC13-git8-base/arch/s390/Makefile current/arch/s390/Makefile
@@ -19,6 +19,7 @@
 AFLAGS		+= -m31
 UTS_MACHINE	:= s390
 STACK_SIZE	:= 8192
+CHECKFLAGS	+= -D__s390__
 endif
 
 ifdef CONFIG_ARCH_S390X
@@ -28,6 +29,7 @@
 AFLAGS		+= -m64
 UTS_MACHINE	:= s390x
 STACK_SIZE	:= 16384
+CHECKFLAGS	+= -D__s390__ -D__s390x__
 endif
 
 cflags-$(CONFIG_MARCH_G5)   += $(call cc-option,-march=g5)