build: don't add -fno-plt for ARC
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 7 Feb 2016 13:29:16 +0000 (13:29 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 7 Feb 2016 13:29:16 +0000 (13:29 +0000)
commit8b499ec2d78bd82472e2c6442d525ced4a2a10ef
tree051f428993650a19f2234fa9bea1abb3feb5e98e
parent2faef9fca873f1f463524ccaa32ba1a4bcc02960
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48642 3c298f89-4303-0410-b956-a3cf2f4a3e73
config/Config-devel.in