Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2011 12:52:45 +0100
From:      Erik Cederstrand <erik@cederstrand.dk>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   GCC debug flags cleanup
Message-ID:  <DED3F527-DD1F-4996-81EF-E3F30ED3E606@cederstrand.dk>

next in thread | raw e-mail | index | archive | help

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 GCC or the build infrastructure, so I'd be grateful if someone would review it and possibly commit.

http://dev.affect-it.dk/gcc_debug_flags.diff

Thanks,
Erik


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DED3F527-DD1F-4996-81EF-E3F30ED3E606>