From patchwork Mon Nov 7 18:13:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 60138 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E55D4385828C for ; Mon, 7 Nov 2022 18:14:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E55D4385828C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667844866; bh=mvGRDxPUK8OuxL1y/I2yw9puksxZv37tkUh4i69byO0=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=JURYP2T5PSyRzSCMgHLqfH3WH+wCXpYTSHUkB0DmM9HPnlH+72xAYoAs6NvsiROiB y1XHg0+2KTGBRev6t2Azxf+K3rQDEDBMHFNobyn66cO7812vDif+Y1S0hSq7uiuMVq Xz7oTOIwAyXs5VcuGf9qEx2yZKqAJjzF9expWqeQ= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by sourceware.org (Postfix) with ESMTPS id 466093858D1E for ; Mon, 7 Nov 2022 18:14:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 466093858D1E Received: by mail-il1-x12c.google.com with SMTP id bp12so4952787ilb.9 for ; Mon, 07 Nov 2022 10:14:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mvGRDxPUK8OuxL1y/I2yw9puksxZv37tkUh4i69byO0=; b=LbhwHN63oMEDqK74WitREAwLYC5/vchYpQNcf4yqYDnGXtZqrkAS51JaQk0ZowLKWc 8lvkUeQ4EUSiohTcsbRm6SnDK7AuWonfmpn5UIa62CM0UgtnDUodPLzsGNfJu+qIvCcB H4U8YM4lIx+QwzSA60TjY05m/aX8WJAUhzFJF4ejlA/KniMwe22HF73iXcBrN0B5QksE Xdora/pTr2DSAQMt4KJWRRWbPt6zkMr5PlZzZCjr/nHI5CF9+ofVpPegldbMskpKPffL U79rliahB3lpRfhSMCsIE+yW5zzH0KRNgzgScT8JGVbT2T9gFM2D/4FBhyxETo4c8Z/f gXNA== X-Gm-Message-State: ACrzQf0+QTT2f5QPutRwNF5jt0SvB/ZJKw+FgDZ9HjbTGl45UoYQCCBp pT0d4yLulk7PKML8tkF8iWoqR0lW2rVaSw== X-Google-Smtp-Source: AMsMyM4QBfhtygDfwRtqyB8D5czYAae1F6OXZrF5N/s6CwPojneimM5WhYFN+N817K8obk7vyaz/1w== X-Received: by 2002:a92:c568:0:b0:300:6328:c228 with SMTP id b8-20020a92c568000000b003006328c228mr29668046ilj.269.1667844843104; Mon, 07 Nov 2022 10:14:03 -0800 (PST) Received: from localhost.localdomain (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id j9-20020a0566022cc900b006a514f67f38sm3387757iow.28.2022.11.07.10.14.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 10:14:02 -0800 (PST) To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH] Silence libtool during link Date: Mon, 7 Nov 2022 11:13:53 -0700 Message-Id: <20221107181353.68359-1-tromey@adacore.com> X-Mailer: git-send-email 2.34.3 MIME-Version: 1.0 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tom Tromey via Gdb-patches From: Tom Tromey Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" 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. --- 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 = @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