* [binutils-gdb] Disable warnings as errors for STAGEautofeedback.
@ 2023-08-12 1:02 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-08-12 1:02 UTC (permalink / raw)
To: bfd-cvs, gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2e834cd27703ad2e378a9dfd4d37f10bc376b7b0
commit 2e834cd27703ad2e378a9dfd4d37f10bc376b7b0
Author: Eugene Rozenfeld <erozen@microsoft.com>
Date: Mon Aug 7 13:07:43 2023 +0200
Disable warnings as errors for STAGEautofeedback.
Compilation during STAGEautofeedback produces additional warnings
since inlining decisions with -fauto-profile are different from
other builds.
This patches disables warnings as errors for STAGEautofeedback.
Tested on x86_64-pc-linux-gnu.
* Makefile.tpl: Disable warnings as errors for STAGEautofeedback
Diff:
---
Makefile.tpl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile.tpl b/Makefile.tpl
index e34071a4aaf..b0fbf9fe01a 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -566,6 +566,9 @@ STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
+# Disable warnings as errors since inlining decisions with -fauto-profile
+# may result in additional warnings.
+STAGEautofeedback_CONFIGURE_FLAGS = $(filter-out --enable-werror-always,$(STAGE_CONFIGURE_FLAGS))
do-compare = @do_compare@
do-compare3 = $(do-compare)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-12 1:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-12 1:02 [binutils-gdb] Disable warnings as errors for STAGEautofeedback Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).