diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-16 01:25:02 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-16 01:25:18 -0500 |
commit | fbfe56ba11baf48575cfc02fb1000fa2000b782f (patch) | |
tree | 88707c143146bd31e637176d925533b313273d0c /mk | |
parent | cea711833b9011cc4d8496c824a8c7b251cb5c39 (diff) |
fix h8/300 userland build
Diffstat (limited to 'mk')
-rw-r--r-- | mk/vars.mk | 2 |
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 |