From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id C989E3858C56; Mon, 7 Nov 2022 19:54:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C989E3858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667850889; bh=V/aTb00yArtp0FgvnB/YRPtsmz+2KoO4P/263Q6AtsA=; h=From:To:Subject:Date:From; b=dM0tuxK/C285Mp4xFhurTKLL+K1inZ9w+nGSbfg+/KpXpog46xc5BJqMhKJC9PhWI VZVh+6E7TRDtWmzirnJ+vknY6PTo5MI4xYBdRRxi8w5xMwe1tEZA9fhMzEJU8Bkgie dHf4Tv2CPjyPVCXjQyZUUmgE1HycTr/G+qV6bj38= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Silence libtool during link X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 412cf590e52d7078cac4059a49fd1617a1523855 X-Git-Newrev: 027fb74964e6e86d666bc7b15e072206f684ddf2 Message-Id: <20221107195449.C989E3858C56@sourceware.org> Date: Mon, 7 Nov 2022 19:54:49 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D027fb74964e6= e86d666bc7b15e072206f684ddf2 commit 027fb74964e6e86d666bc7b15e072206f684ddf2 Author: Tom Tromey Date: Mon Nov 7 10:43:25 2022 -0700 Silence libtool during link =20 The switch to linking with libtool now shows a very long link line even when V=3D0. This patch arranges to silence libtool in this situation. =20 Approved-By: Simon Marchi Diff: --- gdb/Makefile.in | 2 +- gdb/silent-rules.mk | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 =3D @LIBTOOL@ # Set this up with gcc if you have gnu ld and the loader will print out # line numbers for undefined references. #CC_LD =3D g++ -static -CC_LD =3D $(LIBTOOL) --mode=3Dlink $(CXX) $(CXX_DIALECT) +CC_LD =3D $(LIBTOOL) $(SILENT_FLAG) --mode=3Dlink $(CXX) $(CXX_DIALECT) =20 # 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 =3D @echo " LEX $@"; ECHO_AR =3D @echo " AR $@"; ECHO_RANLIB =3D @echo " RANLIB $@"; SILENCE =3D @ +# Silence libtool. +SILENT_FLAG =3D --silent endif