diff options
author | Eugene Rozenfeld <erozen@microsoft.com> | 2023-05-17 22:40:41 -0700 |
---|---|---|
committer | Eugene Rozenfeld <erozen@microsoft.com> | 2023-05-17 22:43:49 -0700 |
commit | 6657950d523e5289ff2b95c1e523b177dfd21bc0 (patch) | |
tree | 2331dc66596794c7999dbb0f2c9afe705fb830d8 /Makefile.in | |
parent | ff2dcddfc4d57e5cefdd2c12a55f2378b808d91e (diff) | |
download | gcc-6657950d523e5289ff2b95c1e523b177dfd21bc0.zip gcc-6657950d523e5289ff2b95c1e523b177dfd21bc0.tar.gz gcc-6657950d523e5289ff2b95c1e523b177dfd21bc0.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.
ChangeLog:
* Makefile.tpl: Disable warnings as errors for STAGEautofeedback
* Makefile.in: Regenerate
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index a89bac0..b559454 100644 --- a/Makefile.in +++ b/Makefile.in @@ -590,9 +590,8 @@ STAGEautofeedback_CXXFLAGS = $(CXXFLAGS) STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS) @endif target-libstdc++-v3-bootstrap STAGEautofeedback_TFLAGS = $(STAGE_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)) +STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) + # By default, C and C++ are the only stage1 languages, because they are the # only ones we require to build with the bootstrap compiler, and also the @@ -641,6 +640,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) |