From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69278 invoked by alias); 3 Sep 2018 19:04:27 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 69137 invoked by uid 89); 3 Sep 2018 19:04:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=games, Hx-languages-length:1791 X-HELO: gateway21.websitewelcome.com Received: from gateway21.websitewelcome.com (HELO gateway21.websitewelcome.com) (192.185.45.163) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 03 Sep 2018 19:04:25 +0000 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 016A4400D98B6 for ; Mon, 3 Sep 2018 14:04:23 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id wu8pfPoHkaSeywu91fstwF; Mon, 03 Sep 2018 14:04:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=J8FhU9EBJRE6rr4qch8nwFyetVS34uOrG+IVrCVI8og=; b=b6z7jfJAZErkoNl9yIjJfUHCeo rir+7ln0Ty5UKixUNHcnYuo4L6xO0qD2PQkA1+3foxaubQje3gmgDPew112RXZClLC0rlmw1mg0kP kdRIYqVZAtnyTMy100YZv8hAQ; Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:58122 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fwu8o-002kCu-R3; Mon, 03 Sep 2018 14:04:02 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 2/4] Remove unneeded explicit .o targets Date: Mon, 03 Sep 2018 19:04:00 -0000 Message-Id: <20180903190359.12817-3-tom@tromey.com> In-Reply-To: <20180903190359.12817-1-tom@tromey.com> References: <20180903190359.12817-1-tom@tromey.com> X-SW-Source: 2018-09/txt/msg00032.txt.bz2 Makefile.in had special cases to compile printcmd.o and target-float.o with a different set of warnings. However, this is no longer required, so this patch removes those rules. gdb/ChangeLog 2018-09-03 Tom Tromey * Makefile.in (printcmd.o, target-float.o): Remove. (GDB_WARN_CFLAGS_NO_FORMAT): Remove. --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 16 ---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/gdb/Makefile.in b/gdb/Makefile.in index e75ef66a070..16aac9dadf2 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -199,8 +199,6 @@ WERROR_CFLAGS = @WERROR_CFLAGS@ GDB_WARN_CFLAGS = $(WARN_CFLAGS) GDB_WERROR_CFLAGS = $(WERROR_CFLAGS) -GDB_WARN_CFLAGS_NO_FORMAT = `echo " $(GDB_WARN_CFLAGS) " \ - | sed "s/ -Wformat-nonliteral / -Wno-format-nonliteral /g"` GDB_WARN_CFLAGS_NO_DEFS = `echo " $(GDB_WARN_CFLAGS) " \ | sed "s/ -Wold-style-definition / -Wno-old-style-definition /g"` @@ -2383,20 +2381,6 @@ ALLDEPFILES = \ # Some files need explicit build rules (due to -Werror problems) or due # to sub-directory fun 'n' games. -# Do not try to build "printcmd.c" with -Wformat-nonliteral. It manually -# checks format strings. -printcmd.o: $(srcdir)/printcmd.c - $(ECHO_CXX) $(COMPILE.pre) $(INTERNAL_CFLAGS) \ - $(GDB_WARN_CFLAGS_NO_FORMAT) $(COMPILE.post) \ - $(srcdir)/printcmd.c - $(POSTCOMPILE) - -# Same for "target-float.c". -target-float.o: $(srcdir)/target-float.c - $(ECHO_CXX) $(COMPILE.pre) $(INTERNAL_CFLAGS) \ - $(GDB_WARN_CFLAGS_NO_FORMAT) $(COMPILE.post) \ - $(srcdir)/target-float.c - # ada-exp.c can appear in srcdir, for releases; or in ., for # development builds. ADA_EXP_C = `if test -f ada-exp.c; then echo ada-exp.c; else echo $(srcdir)/ada-exp.c; fi` -- 2.13.6