Author: nbd
Date: 2014-12-27 13:59:53 +0100 (Sat, 27 Dec 2014)
New Revision: 43783
Modified:
trunk/toolchain/binutils/Makefile
Log:
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 <[email protected]>
Modified: trunk/toolchain/binutils/Makefile
===================================================================
--- trunk/toolchain/binutils/Makefile 2014-12-27 12:59:47 UTC (rev 43782)
+++ trunk/toolchain/binutils/Makefile 2014-12-27 12:59:53 UTC (rev 43783)
@@ -41,6 +41,7 @@
--host=$(GNU_HOST_NAME) \
--target=$(REAL_GNU_TARGET_NAME) \
--with-sysroot=$(TOOLCHAIN_DIR) \
+ --enable-plugins \
--disable-multilib \
--disable-werror \
--disable-nls \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits