makefile.flags: do not use -O with -g

Mike Frysinger vapier at gentoo.org
Sun Feb 17 21:59:30 PST 2008


On Sunday 17 February 2008, walter harms wrote:
> i had a situation where the -Os option confused my debugger.
> This little patch disables the -Os when -g is used.

fix your debugger or dont build with -Os.  if you need to debug something, you 
shouldnt be enabling any optimizations in the first place.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/busybox/attachments/20080218/e5d86de1/attachment.pgp 


More information about the busybox mailing list