Skip to content
Snippets Groups Projects
Commit 7d808a32 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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: default avatarMatthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 43783
parent b2de18be
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,7 @@ BINUTILS_CONFIGURE:= \ ...@@ -41,6 +41,7 @@ BINUTILS_CONFIGURE:= \
--host=$(GNU_HOST_NAME) \ --host=$(GNU_HOST_NAME) \
--target=$(REAL_GNU_TARGET_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \
--with-sysroot=$(TOOLCHAIN_DIR) \ --with-sysroot=$(TOOLCHAIN_DIR) \
--enable-plugins \
--disable-multilib \ --disable-multilib \
--disable-werror \ --disable-werror \
--disable-nls \ --disable-nls \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment