From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id E83B63858027 for ; Mon, 1 Nov 2021 04:59:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E83B63858027 Received: by smtp.gentoo.org (Postfix, from userid 559) id 4FC4D342D33; Mon, 1 Nov 2021 04:59:46 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH 2/9] sim: sh: reduce -Wno-error scope Date: Mon, 1 Nov 2021 00:59:38 -0400 Message-Id: <20211101045945.23481-2-vapier@gentoo.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211101045945.23481-1-vapier@gentoo.org> References: <20211101045945.23481-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-List-Received-Date: Mon, 01 Nov 2021 04:59:48 -0000 Only one file in here still generates warnings, so reduce the -Werror disable to that alone now that we require GNU make and can set variables on a per-object basis. --- sim/sh/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sim/sh/Makefile.in b/sim/sh/Makefile.in index efac41e8a401..e79efd1ff5e2 100644 --- a/sim/sh/Makefile.in +++ b/sim/sh/Makefile.in @@ -28,8 +28,8 @@ SIM_EXTRA_LIBS = -lm SIM_EXTRA_CLEAN = sh-clean SIM_EXTRA_DEPS = table.c code.c ppi.c -# Code doesn't build cleanly yet. -SIM_WERROR_CFLAGS = +# Some modules don't build cleanly yet. +interp.o: SIM_WERROR_CFLAGS = ## COMMON_POST_CONFIG_FRAG -- 2.33.0