summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to '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 82173db00..605248a37 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -148,6 +148,7 @@ endif
ifeq ($(ADK_TARGET_ARCH_ARM),y)
ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
TARGET_CFLAGS+= -Wl,-elf2flt
+TARGET_CXXFLAGS+= -Wl,-elf2flt
endif
endif