mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
[PATCH] missing CHECKFLAGS on s390
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
3f70353ea9
commit
d310a35a48
@ -19,6 +19,7 @@ CFLAGS += -m31
|
|||||||
AFLAGS += -m31
|
AFLAGS += -m31
|
||||||
UTS_MACHINE := s390
|
UTS_MACHINE := s390
|
||||||
STACK_SIZE := 8192
|
STACK_SIZE := 8192
|
||||||
|
CHECKFLAGS += -D__s390__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_ARCH_S390X
|
ifdef CONFIG_ARCH_S390X
|
||||||
@ -28,6 +29,7 @@ CFLAGS += -m64
|
|||||||
AFLAGS += -m64
|
AFLAGS += -m64
|
||||||
UTS_MACHINE := s390x
|
UTS_MACHINE := s390x
|
||||||
STACK_SIZE := 16384
|
STACK_SIZE := 16384
|
||||||
|
CHECKFLAGS += -D__s390__ -D__s390x__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5)
|
cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5)
|
||||||
|
Loading…
Reference in New Issue
Block a user