summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-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