In order to support LTO build in binutils, we need to pass --plugin to AR and RANLIB. Add GCC_PLUGIN_OPTION to gcc-plugin.m4 to detect the GCC plugin name. Pass the --plugin option to AR and RANLIB.
H.J. Lu (2): GCC: Pass --plugin to AR and RANLIB Binutils: Pass --plugin to AR and RANLIB Makefile.in | 4 +- Makefile.tpl | 5 +- bfd/configure | 27 +++++- config/gcc-plugin.m4 | 28 ++++++ configure | 37 ++++++++ configure.ac | 13 +++ gas/configure | 27 +++++- gprof/configure | 27 +++++- ld/configure | 27 +++++- libctf/configure | 27 +++++- libiberty/Makefile.in | 5 +- libiberty/aclocal.m4 | 1 + libiberty/configure | 37 ++++++++ libiberty/configure.ac | 12 +++ libtool.m4 | 25 ++++- opcodes/configure | 27 +++++- zlib/configure | 206 ++++++++++++++++++++++++++++++++++++++++- 17 files changed, 513 insertions(+), 22 deletions(-) -- 2.26.2