From: Tom Tromey Date: Mon, 7 Nov 2022 17:43:25 +0000 (-0700) Subject: Silence libtool during link X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=027fb74964e6e86d666bc7b15e072206f684ddf2;p=binutils-gdb.git Silence libtool during link The switch to linking with libtool now shows a very long link line even when V=0. This patch arranges to silence libtool in this situation. Approved-By: Simon Marchi --- diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 522fc20bccd..0f5df2ccb7b 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -148,7 +148,7 @@ LIBTOOL = @LIBTOOL@ # Set this up with gcc if you have gnu ld and the loader will print out # line numbers for undefined references. #CC_LD = g++ -static -CC_LD = $(LIBTOOL) --mode=link $(CXX) $(CXX_DIALECT) +CC_LD = $(LIBTOOL) $(SILENT_FLAG) --mode=link $(CXX) $(CXX_DIALECT) # Where is our "include" directory? Typically $(srcdir)/../include. # This is essentially the header file directory for the library diff --git a/gdb/silent-rules.mk b/gdb/silent-rules.mk index c2c43481296..36791f6683f 100644 --- a/gdb/silent-rules.mk +++ b/gdb/silent-rules.mk @@ -18,4 +18,6 @@ ECHO_LEX = @echo " LEX $@"; ECHO_AR = @echo " AR $@"; ECHO_RANLIB = @echo " RANLIB $@"; SILENCE = @ +# Silence libtool. +SILENT_FLAG = --silent endif