[patch] Makefile.flags: would this make more sense?

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sun Jun 8 10:16:52 UTC 2008


On Thu, 5 Jun 2008, Cristian Ionescu-Idbohrn wrote:

> On Thu, 5 Jun 2008, Denys Vlasenko wrote:
>
> > On Tuesday 03 June 2008 22:06, Cristian Ionescu-Idbohrn wrote:
> > > When using gdb, one would expect to have the source compiled with
> > > '-g -O0', and not '-g -Os'.
> >
> > There were people who disagree (they say "debug what you ship").
> > I see only one way to leave BOTH camps happy. Create a CONFIG_DEBUG0
> > option (dependent on CONFIG_DEBUG) which forces -O0 build.
> > Otherwise, -Os would be used.
> >
> > Can you do this?
>
> I'll have a look at it.

Well, I found traces of this old controverse in topdir Config.in,
DEBUG_PESSIMIZE commented out, so I just revived that.  Attached the
result.  What do you think?


Cheers,

-- 
Cristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_pessimize.patch
Type: text/x-diff
Size: 2392 bytes
Desc: 
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080608/0f362165/attachment.bin 


More information about the busybox mailing list