summaryrefslogtreecommitdiff
path: root/mk/vars.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/vars.mk')
-rw-r--r--mk/vars.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 68953e14d..170580396 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -176,6 +176,7 @@ endif
endif
ifeq ($(ADK_TARGET_ARCH_H8300),y)
+TARGET_CFLAGS+= -mh
ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
TARGET_CFLAGS+= -Wl,-elf2flt
TARGET_CXXFLAGS+= -Wl,-elf2flt