From de2abcca5af59ebc11f66fb6fb491e16f50c8166 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 21 Nov 2002 06:43:23 +0000 Subject: Patch from Yoshinori Sato to update the h8300 architecture. --- Rules.mak | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 46e480801..dd3a6cab0 100644 --- a/Rules.mak +++ b/Rules.mak @@ -150,6 +150,11 @@ ifeq ($(strip $(TARGET_ARCH)),sh) CPU_CFLAGS-$(CONFIG_SH5)+="-m5" endif +ifeq ($(strip $(TARGET_ARCH)),h8300) + CPU_LDFLAGS-y:=-mh8300h + CPU_CFLAGS-y+=-mh -mint32 -fsigned-char +endif + # Add a bunch of extra pedantic annoyingly strict checks WARNINGS+=-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing # Some nice CFLAGS to work with -- cgit v1.2.3