[binutils-gdb] Disable warnings as errors for STAGEautofeedback.
Alan Modra
amodra@sourceware.org
Sat Aug 12 01:02:15 GMT 2023
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)
More information about the Binutils-cvs
mailing list