summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-04 17:58:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-04 21:46:52 +0100
commit17b776bab6e6414b735f2f62f8e3783717fa3248 (patch)
tree93e022cc1ac2b28e11526bc9eb34b9cd575b34c6
parentf4881bf18040c7442b458f1fe90529f60ce110bb (diff)
set LDFLAGS, too
-rw-r--r--mk/vars.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 5493b377a..96bcdbec6 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -169,6 +169,7 @@ TARGET_LDFLAGS+= -mh
endif
ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
+TARGET_LDFLAGS+= -Wl,-elf2flt
TARGET_CFLAGS+= -Wl,-elf2flt
TARGET_CXXFLAGS+= -Wl,-elf2flt
endif