Re: [PATCH 08/10] Makefile: drop GCC < 5 -fno-var-tracking-assignments workaround
From: Nathan Chancellor <nathan@kernel.org>
Date: 2021-09-11 00:11:11
Also in:
lkml
From: Nathan Chancellor <nathan@kernel.org>
Date: 2021-09-11 00:11:11
Also in:
lkml
On Fri, Sep 10, 2021 at 04:40:45PM -0700, Nick Desaulniers wrote:
Now that GCC 5.1 is the minimally supported version, we can drop this workaround for older versions of GCC. Signed-off-by: Nick Desaulniers <redacted>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
--- Makefile | 6 ------ 1 file changed, 6 deletions(-)diff --git a/Makefile b/Makefile index 2d1e491f7737..f9ef07f573e0 100644 --- a/Makefile +++ b/Makefile@@ -849,12 +849,6 @@ endif DEBUG_CFLAGS := -# Workaround for GCC versions < 5.0 -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801 -ifdef CONFIG_CC_IS_GCC -DEBUG_CFLAGS += $(call cc-ifversion, -lt, 0500, $(call cc-option, -fno-var-tracking-assignments)) -endif - ifdef CONFIG_DEBUG_INFO ifdef CONFIG_DEBUG_INFO_SPLIT-- 2.33.0.309.g3052b89438-goog