Message ID | 20190411051013.5711-1-joel@jms.id.au |
---|---|
State | Accepted |
Headers | show |
Series | Makefile: Build with symbols | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch master (ff79070d1c4cdc38f2ecb42e45b8322cb1efb819) |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot | success | Test snowpatch/job/snowpatch-skiboot on branch master |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco | success | Signed-off-by present |
Joel Stanley <joel@jms.id.au> writes: > Signed-off-by: Joel Stanley <joel@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 Sure.. I'm guessing this is useful for bonus debugging info when using Debugging Magic(TM), merged to master as of a7855bdd659382468ffc17ad6460c4c67488c2e6
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)
Signed-off-by: Joel Stanley <joel@jms.id.au> --- Makefile.main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)