diff --git a/Makefile b/Makefile index 1b0d84d49612..0ad6e8d9b0b3 100644 --- a/Makefile +++ b/Makefile @@ -502,6 +502,7 @@ endif ifdef CONFIG_DEBUG_INFO CFLAGS += -g +AFLAGS += -gdwarf-2 endif # Force gcc to behave correct even for buggy distributions