build: don't add -fno-plt for ARC
authorFelix Fietkau <nbd@openwrt.org>
Sun, 7 Feb 2016 13:29:16 +0000 (13:29 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 7 Feb 2016 13:29:16 +0000 (13:29 +0000)
commitbe9e991b8806841a1c209ed7e2864d48da0de1b5
treea70014d5390818a21938b63562cbe640fe409ac0
parent522bba5e421e47323975876faa0fee091ed8eb0b
build: don't add -fno-plt for ARC

Curent ARC toolchain fails to build libstdc++ if -fno-plt is used.
Lots of following error messages appear:
------------------->8------------------
...
staging_dir/toolchain-arc_arc700_gcc-arc-2015.06_uClibc-1.0.9/arc-openwrt-linux-uclibc/bin/ld:
BFD (GNU Binutils) 2.23.2 assertion fail elf32-arc.c:2786
collect2: error: ld returned 1 exit status
------------------->8------------------

In newer binutils (still in development) for ARC rewritten from
scratch this seem to not happen, so once new binutils for ARC hit
the street this patch might be reverted.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48642
config/Config-devel.in