From 9a9d836205f8db2e2eeafdbfae1dc9e041fd4ca2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 16 Aug 2016 22:42:54 +0200 Subject: bfin: fix remaining c++ compile issues --- toolchain/gcc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'toolchain/gcc') 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 -- cgit v1.2.3