diff options
author | viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk> | 2005-09-09 11:56:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 13:31:58 -0400 |
commit | d310a35a487388859432648daa2ea4fc5e51c049 (patch) | |
tree | 1b16e167f51dff6ac5e5e3720d26f53b21248d8f /arch/s390 | |
parent | 3f70353ea91ad77c83500e70507a239b2ab0c980 (diff) |
[PATCH] missing CHECKFLAGS on s390
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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) |