aboutsummaryrefslogtreecommitdiff
path: root/libiberty/Makefile.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-07-05 16:16:38 +0100
committerNick Clifton <nickc@redhat.com>2021-07-05 16:21:42 +0100
commitc919d6be44913ed52d91c203e87e529ee17de805 (patch)
treeb49acbce9e226a7b751b93adf9b9519ac9185f06 /libiberty/Makefile.in
parent6e0dfbf420ae6ac321074c0051dcfd6a5a4d0f7c (diff)
downloadgdb-c919d6be44913ed52d91c203e87e529ee17de805.zip
gdb-c919d6be44913ed52d91c203e87e529ee17de805.tar.gz
gdb-c919d6be44913ed52d91c203e87e529ee17de805.tar.bz2
Restore the libiberty component of commit 50ad1254d5030d0804cbf89c758359ae202e8d55.
This commit has not yet been applied to the master sources in the gcc repository. It was submitted here: https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574405.html The commit allows options to be set for the AR and RANLIB programs used when building libiberty, which in turn allows building with LTO enabled.
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r--libiberty/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 4f1213b..d19e14a 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -49,13 +49,13 @@ mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
# Some compilers can't handle cc -c blah.c -o foo/blah.o.
OUTPUT_OPTION = @OUTPUT_OPTION@
-AR = @AR@
+AR = @AR@ @AR_PLUGIN_OPTION@
AR_FLAGS = rc
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
-RANLIB = @RANLIB@
+RANLIB = @RANLIB@ @RANLIB_PLUGIN_OPTION@
MAKEINFO = @MAKEINFO@
PERL = @PERL@
@@ -487,6 +487,7 @@ aclocal_deps = \
$(srcdir)/../config/acx.m4 \
$(srcdir)/../config/cet.m4 \
$(srcdir)/../config/enable.m4 \
+ $(srcdir)/../config/gcc-plugin.m4 \
$(srcdir)/../config/no-executables.m4 \
$(srcdir)/../config/override.m4 \
$(srcdir)/../config/picflag.m4 \