From: Nick Desaulniers Date: Fri, 10 Sep 2021 23:40:45 +0000 (-0700) Subject: Makefile: drop GCC < 5 -fno-var-tracking-assignments workaround X-Git-Tag: v5.15~269^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=156102fe0bb669f40f2fd27856b21f9fa8157090;p=platform%2Fkernel%2Flinux-starfive.git Makefile: drop GCC < 5 -fno-var-tracking-assignments workaround 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 Reviewed-by: Kees Cook Reviewed-by: Nathan Chancellor Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index 2d1e491..f9ef07f 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