Skip to content

Commit 156102f

Browse files
nickdesaulnierstorvalds
authored andcommitted
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 <ndesaulniers@google.com> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 42a7ba1 commit 156102f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎Makefile‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -849,12 +849,6 @@ endif
849849

850850
DEBUG_CFLAGS :=
851851

852-
# Workaround for GCC versions < 5.0
853-
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801
854-
ifdef CONFIG_CC_IS_GCC
855-
DEBUG_CFLAGS += $(call cc-ifversion, -lt, 0500, $(call cc-option, -fno-var-tracking-assignments))
856-
endif
857-
858852
ifdef CONFIG_DEBUG_INFO
859853

860854
ifdef CONFIG_DEBUG_INFO_SPLIT

0 commit comments

Comments
 (0)