From f4b6b84555ba69aee4d9b62eb49ef19ff27d083f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 27 Dec 2014 12:59:53 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43783 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/binutils/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'toolchain/binutils/Makefile') diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 820b5f8efa..8e661b98eb 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -41,6 +41,7 @@ BINUTILS_CONFIGURE:= \ --host=$(GNU_HOST_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \ --with-sysroot=$(TOOLCHAIN_DIR) \ + --enable-plugins \ --disable-multilib \ --disable-werror \ --disable-nls \ -- cgit v1.2.3