summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1b0d84d4961..0ad6e8d9b0b 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