summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-16 01:25:02 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-16 01:25:18 -0500
commitfbfe56ba11baf48575cfc02fb1000fa2000b782f (patch)
tree88707c143146bd31e637176d925533b313273d0c /mk
parentcea711833b9011cc4d8496c824a8c7b251cb5c39 (diff)
fix h8/300 userland build
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 170580396..0a551fbd3 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -177,7 +177,9 @@ endif
ifeq ($(ADK_TARGET_ARCH_H8300),y)
TARGET_CFLAGS+= -mh
+TARGET_LDFLAGS+= -mh
ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
+TARGET_LDFLAGS+= -Wl,-elf2flt
TARGET_CFLAGS+= -Wl,-elf2flt
TARGET_CXXFLAGS+= -Wl,-elf2flt
endif