binutils: enable plugin support
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Dec 2014 12:59:53 +0000 (12:59 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Dec 2014 12:59:53 +0000 (12:59 +0000)
commit92c4107ccbcfbee9ce3231ef4dd93ea6152218e6
tree64b4909c079eb8545a58148ccfc7c633f9a3c524
parent1a85fb09f99af8a7c907f14edb4912b3e9f4f6c6
binutils: enable plugin support

--enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which
must be used with GCC 4.9 for LTO to work.

Without this option, gcc-ar etc. will just fail with

    sorry - this program has been built without plugin support

Using the normal ar from binutils with GCC 4.9 and -flto will cause linking
with static "convenience" libraries to fail.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43783 3c298f89-4303-0410-b956-a3cf2f4a3e73
toolchain/binutils/Makefile