diff options
author | Tom Tromey <tromey@adacore.com> | 2022-11-07 10:43:25 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-11-07 12:46:24 -0700 |
commit | 027fb74964e6e86d666bc7b15e072206f684ddf2 (patch) | |
tree | 604023f6f7448b5b8db0663e14708e827ae0ca38 | |
parent | 412cf590e52d7078cac4059a49fd1617a1523855 (diff) | |
download | gdb-027fb74964e6e86d666bc7b15e072206f684ddf2.zip gdb-027fb74964e6e86d666bc7b15e072206f684ddf2.tar.gz gdb-027fb74964e6e86d666bc7b15e072206f684ddf2.tar.bz2 |
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 <simon.marchi@efficios.com>
-rw-r--r-- | gdb/Makefile.in | 2 | ||||
-rw-r--r-- | gdb/silent-rules.mk | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 522fc20..0f5df2c 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 c2c4348..36791f6 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 |