[Skiboot] [PATCH] Makefile: Build with symbols

Stewart Smith stewart at linux.ibm.com
Wed Apr 17 17:42:47 AEST 2019


Joel Stanley <joel at jms.id.au> writes:
> 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

Sure.. I'm guessing this is useful for bonus debugging info when using
Debugging Magic(TM), merged to master as of a7855bdd659382468ffc17ad6460c4c67488c2e6

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list