X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=arch%2Fs390%2FMakefile;h=98db30481d97eb211d1e767ca9701767e323dc09;hp=189c8f3a369ce612ecfeb6b7af352fb75350fcf7;hb=486a153f0e294f7cc735838edcb6b32e623cbe52;hpb=f64a227b6b5cc1f8cc7f6ef9cc3351343636bac9 diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 189c8f3a369c..98db30481d97 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile @@ -19,6 +19,7 @@ CFLAGS += -m31 AFLAGS += -m31 UTS_MACHINE := s390 STACK_SIZE := 8192 +CHECKFLAGS += -D__s390__ endif ifdef CONFIG_ARCH_S390X @@ -28,6 +29,7 @@ CFLAGS += -m64 AFLAGS += -m64 UTS_MACHINE := s390x STACK_SIZE := 16384 +CHECKFLAGS += -D__s390__ -D__s390x__ endif cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5)