[PATCH iproute2] Enable use of extra debugging information

2016-06-21 Thread David Ahern
Add -g flag to builds if DEBUG parameter is set. Improves debugging with gdb. Signed-off-by: David Ahern --- Makefile | 4 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 15c81ecfdca3..8e006759079d 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,11 @@ HOSTCC = gcc

Re: [PATCH iproute2] Enable use of extra debugging information

2016-06-22 Thread Jakub Sitnicki
Hi David, On Wed, Jun 22, 2016 at 01:27 AM CEST, David Ahern wrote: > Add -g flag to builds if DEBUG parameter is set. Improves > debugging with gdb. > > Signed-off-by: David Ahern > --- > Makefile | 4 > 1 file changed, 4 insertions(+) > > diff --git a/Makefile b/Makefile > index 15c81ec

Re: [PATCH iproute2] Enable use of extra debugging information

2016-06-22 Thread David Ahern
On 6/22/16 2:36 AM, Jakub Sitnicki wrote: diff --git a/Makefile b/Makefile index 15c81ecfdca3..8e006759079d 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,11 @@ HOSTCC = gcc DEFINES += -D_GNU_SOURCE # Turn on transparent support for LFS DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE

Re: [PATCH iproute2] Enable use of extra debugging information

2016-06-27 Thread Stephen Hemminger
On Tue, 21 Jun 2016 16:27:09 -0700 David Ahern wrote: > Add -g flag to builds if DEBUG parameter is set. Improves > debugging with gdb. > > Signed-off-by: David Ahern I would rather not put this in the upstream repo. Developers are free to modify flags as they see fit when debugging.