summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-16 22:42:54 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-16 22:42:54 +0200
commit9a9d836205f8db2e2eeafdbfae1dc9e041fd4ca2 (patch)
tree42aa50ab67ddfb25b0d12a4d7da862013704ecff /toolchain/gcc
parent54dd366e0995d5f7907f60495ccd179e80203c83 (diff)
bfin: fix remaining c++ compile issues
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 3176831e9..01f4f4a96 100644
--- a/toolchain/gcc/Makefile
+++ b/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