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

Denys Vlasenko vda.linux at googlemail.com
Thu Jun 5 01:18:16 PDT 2008


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?
--
vda


More information about the busybox mailing list