[PATCH] Compile options: default to -O2 when -Os is not available

Rich Felker dalias at aerifal.cx
Sun May 1 14:01:18 UTC 2011


On Sun, May 01, 2011 at 02:00:27PM +0200, Wolfgang Denk wrote:
> chains).  This commit changes behaviour so "-O2" gets used as fallback
> when "-Os" is not available.  This reduces the image size in above
> test to 1.3 MiB.  This is still 10...15% more then what we get with
> "-Os", but much better than using no optimization at all.

Why not -O1?

Rich


More information about the busybox mailing list