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

Mike Frysinger vapier at gentoo.org
Mon Feb 18 05:59:30 UTC 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://lists.busybox.net/pipermail/busybox/attachments/20080218/e5d86de1/attachment-0002.pgp 


More information about the busybox mailing list