[haiku-commits] Re: haiku: hrev44865 - headers/libs/x86emu/x86emu

  • From: Alex Smith <alex@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 21 Nov 2012 09:03:59 +0000

On 19 November 2012 04:28, Urias McCullough <umccullough@xxxxxxxxx> wrote:

> On Sun, Nov 18, 2012 at 2:52 PM,  <alex@xxxxxxxxxxxxxxxx> wrote:
> > +// Haiku workaround - don't want to compile all of the debugging code
> even
> > +// when doing a debug build, it's unnecessary unless you're trying to
> debug
> > +// x86emu itself.
> > +#undef DEBUG
>
> Wouldn't this be better done in the jamfile itself?
>

Probably better, though I'm not well versed with Jam - how would I get it
to remove the define from the CFLAGS? Or should I just put -UDEBUG on the
end of CFLAGS?

Thanks,
Alex

Other related posts: