On 11/21/2012 10:03 AM, Alex Smith wrote:
On 19 November 2012 04:28, Urias McCullough <umccullough@xxxxxxxxx <mailto:umccullough@xxxxxxxxx>> wrote: On Sun, Nov 18, 2012 at 2:52 PM, <alex@xxxxxxxxxxxxxxxx <mailto: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?
No, just insert a "DEBUG = 0 ;" in the Jamfile (before any rule to build something).
CU, Ingo