This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MT_CFLAGS
On Thu, Jan 24, 2008 at 10:20:30AM -0500, Aleksandar Ristovski wrote:
> I want to implement some fix-ups (workarounds) that are really specific to
> us and have to be made in gdb files (not ours). The workarounds are not
> candidates for mainstream, so I am wrapping them in our #ifdef-s... No big
> deal really, I just thought there was a 'correct' way to do it.
>
> But maybe you have some other suggestion?
If it's for local changes, there's plenty of ways to do it. For
instance, specify them in CFLAGS when running configure, or add a
local line to the Makefile.in. Or have the main configure script
define something based on $target if you want to be able to test
without them easily.
--
Daniel Jacobowitz
CodeSourcery