aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e5a269465f99..2fd21a58f5cf 100644
--- a/Makefile
+++ b/Makefile
@@ -691,6 +691,9 @@ KBUILD_CFLAGS += -g
691endif 691endif
692KBUILD_AFLAGS += -Wa,-gdwarf-2 692KBUILD_AFLAGS += -Wa,-gdwarf-2
693endif 693endif
694ifdef CONFIG_DEBUG_INFO_DWARF4
695KBUILD_CFLAGS += $(call cc-option, -gdwarf-4,)
696endif
694 697
695ifdef CONFIG_DEBUG_INFO_REDUCED 698ifdef CONFIG_DEBUG_INFO_REDUCED
696KBUILD_CFLAGS += $(call cc-option, -femit-struct-debug-baseonly) \ 699KBUILD_CFLAGS += $(call cc-option, -femit-struct-debug-baseonly) \