Re: GCC debug flags cleanup

2011-12-23 Thread Eitan Adler
On Thu, Dec 22, 2011 at 6:52 AM, Erik Cederstrand e...@cederstrand.dk wrote: Hi, I've created a patch that cleans up FreeBSD Makefiles that unconditionally set the -g flag for GCC. The motivation for this is that it should be possible to add or remove this flag globally via e.g. CFLAGS

Re: GCC debug flags cleanup

2011-12-23 Thread Alexander Kabaev
On Thu, 22 Dec 2011 12:52:45 +0100 Erik Cederstrand e...@cederstrand.dk wrote: Hi, I've created a patch that cleans up FreeBSD Makefiles that unconditionally set the -g flag for GCC. The motivation for this is that it should be possible to add or remove this flag globally via e.g. CFLAGS

GCC debug flags cleanup

2011-12-22 Thread Erik Cederstrand
Hi, I've created a patch that cleans up FreeBSD Makefiles that unconditionally set the -g flag for GCC. The motivation for this is that it should be possible to add or remove this flag globally via e.g. CFLAGS (it's part of my quest to produce deterministic builds). I'm not very familiar with

Re: GCC debug flags cleanup

2011-12-22 Thread Bob Bishop
Hi, On 22 Dec 2011, at 11:52, Erik Cederstrand wrote: I've created a patch that cleans up FreeBSD Makefiles that unconditionally set the -g flag for GCC. [etc] Just a note of caution that I have had cases in the past where I suspected that GCC was generating broken code without -g and good

Re: GCC debug flags cleanup

2011-12-22 Thread Mark Blackman
On Thu, 22 Dec 2011, Bob Bishop wrote: Hi, On 22 Dec 2011, at 11:52, Erik Cederstrand wrote: I've created a patch that cleans up FreeBSD Makefiles that unconditionally set the -g flag for GCC. [etc] Just a note of caution that I have had cases in the past where I suspected that GCC was