aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorEugene Rozenfeld <erozen@microsoft.com>2023-08-07 13:07:43 +0200
committerAlan Modra <amodra@gmail.com>2023-08-12 10:25:06 +0930
commit2e834cd27703ad2e378a9dfd4d37f10bc376b7b0 (patch)
treea31b9fd11ecf598b0cff55e96c7d661bd44080a4 /Makefile.tpl
parent91c7a3089cc04de9a4b65a166ade551485c98280 (diff)
downloadbinutils-2e834cd27703ad2e378a9dfd4d37f10bc376b7b0.zip
binutils-2e834cd27703ad2e378a9dfd4d37f10bc376b7b0.tar.gz
binutils-2e834cd27703ad2e378a9dfd4d37f10bc376b7b0.tar.bz2
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
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index e34071a..b0fbf9f 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)