Browse Source

bfin: fix remaining c++ compile issues

Waldemar Brodkorb 7 years ago
parent
commit
9a9d836205
1 changed files with 5 additions and 0 deletions
  1. 5 0
      toolchain/gcc/Makefile

+ 5 - 0
toolchain/gcc/Makefile

@@ -115,6 +115,11 @@ ifneq ($(ADK_TARGET_INSTRUCTION_SET),)
 GCC_CONFOPTS+=		--with-mode=$(ADK_TARGET_INSTRUCTION_SET)
 endif
 
+# .symver is broken for Blackfin, simple C++ apps fail to link
+ifeq ($(ADK_TARGET_ARCH_BFIN),y)
+GCC_CONFOPTS+=		--disable-symvers
+endif
+
 ifeq ($(ADK_TARGET_ARCH_METAG),y)
 GCC_CONFOPTS+=		--with-cpu=2.1 --enable-meta-default --disable-symvers
 endif