[Skiboot] [PATCH] Makefile: Build with symbols

Joel Stanley joel at jms.id.au
Thu Apr 11 15:10:13 AEST 2019


Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 Makefile.main | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.main b/Makefile.main
index 8a99ec9f4b79..fa412857349a 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -76,7 +76,7 @@ endif
 
 CFLAGS := -fno-strict-aliasing -pie -fpie -fno-pic -mbig-endian -m64
 CFLAGS += -mcpu=power7
-CFLAGS += -Wl,--oformat,elf64-powerpc
+CFLAGS += -Wl,--oformat,elf64-powerpc -ggdb
 CFLAGS += $(call try-cflag,$(CC),-ffixed-r13)
 CFLAGS += $(call try-cflag,$(CC),-std=gnu11)
 ifeq ($(ELF_ABI_v2),1)
-- 
2.20.1



More information about the Skiboot mailing list