On Fri, Jan 20, 2006 at 07:10:02AM -0500, Mike Frysinger wrote:
> that depends, does your code actually have things like
> #ifdef DEBUG
>      <debug stuff>
> #endif
And likewise your code should NOT have some logic like the following in
it's build system.
if(debug mode)
         ignore user cflags and use our own cracked out cflags

I've seen an upstream configure script where if you tell it you want
debug mode, the only thing it does is force CFLAGS to '-O -march=i386'
and not strip the binaries itself - this of course failed dismally when
you tried to enable debugging on non-x86 platforms.

-- 
Robin Hugh Johnson
E-Mail     : [EMAIL PROTECTED]
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgpMDVGXmRWcR.pgp
Description: PGP signature

Reply via email to