diff options
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 3cd8dd25c9d7..c1ea6bcb77ce 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile | |||
@@ -19,6 +19,7 @@ CFLAGS += -m31 | |||
19 | AFLAGS += -m31 | 19 | AFLAGS += -m31 |
20 | UTS_MACHINE := s390 | 20 | UTS_MACHINE := s390 |
21 | STACK_SIZE := 8192 | 21 | STACK_SIZE := 8192 |
22 | CHECKFLAGS += -D__s390__ | ||
22 | endif | 23 | endif |
23 | 24 | ||
24 | ifdef CONFIG_ARCH_S390X | 25 | ifdef CONFIG_ARCH_S390X |
@@ -28,6 +29,7 @@ CFLAGS += -m64 | |||
28 | AFLAGS += -m64 | 29 | AFLAGS += -m64 |
29 | UTS_MACHINE := s390x | 30 | UTS_MACHINE := s390x |
30 | STACK_SIZE := 16384 | 31 | STACK_SIZE := 16384 |
32 | CHECKFLAGS += -D__s390__ -D__s390x__ | ||
31 | endif | 33 | endif |
32 | 34 | ||
33 | cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5) | 35 | cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5) |