diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -691,6 +691,9 @@ KBUILD_CFLAGS += -g | |||
691 | endif | 691 | endif |
692 | KBUILD_AFLAGS += -Wa,-gdwarf-2 | 692 | KBUILD_AFLAGS += -Wa,-gdwarf-2 |
693 | endif | 693 | endif |
694 | ifdef CONFIG_DEBUG_INFO_DWARF4 | ||
695 | KBUILD_CFLAGS += $(call cc-option, -gdwarf-4,) | ||
696 | endif | ||
694 | 697 | ||
695 | ifdef CONFIG_DEBUG_INFO_REDUCED | 698 | ifdef CONFIG_DEBUG_INFO_REDUCED |
696 | KBUILD_CFLAGS += $(call cc-option, -femit-struct-debug-baseonly) \ | 699 | KBUILD_CFLAGS += $(call cc-option, -femit-struct-debug-baseonly) \ |