summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-21 18:04:15 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-21 18:04:23 +0100
commit21b1aee7b2d0c9fc0f4e7f43c64f9281eda10504 (patch)
tree804e3390ca19f37f2df52ac98ee4c396420ec712
parentd3fde8d1c6646138f07878100490931cc503473b (diff)
m68k/coldfire: elf2flt has some issues, gas error, so disable cfi asm generation
-rw-r--r--mk/vars.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 55aa07ea1..eb0336cf2 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -264,6 +264,10 @@ TARGET_CXXFLAGS+= -fomit-frame-pointer
# stop generating eh_frame stuff
TARGET_CFLAGS+= -fno-unwind-tables -fno-asynchronous-unwind-tables
TARGET_CXXFLAGS+= -fno-unwind-tables -fno-asynchronous-unwind-tables
+ifeq ($(ADK_TARGET_CPU_CF),y)
+TARGET_CFLAGS+= -fno-dwarf2-cfi-asm
+TARGET_CXXFLAGS+= -fno-dwarf2-cfi-asm
+endif
endif
ifeq ($(ADK_TARGET_ARCH_ARM),y)