[PATCH v2] build system: allow users to select the optimization mode

Bartosz Gołaszewski bartekgola at gmail.com
Wed Apr 15 12:37:33 UTC 2015


Hi Bernhard,

2015-04-15 14:26 GMT+02:00 Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>:
> On 15 April 2015 at 13:43, Bartosz Golaszewski <bartekgola at gmail.com> wrote:
>> In some scenarios busybox performance may be prefered over its
>> small size.
>>
>> Allow users to select the compiler optimization level by adding
>> appropriate config options.
>
> OPTIMIZE_SPEED would suggest it uses Ofast, IMHO.

Would OPTIMIZE_PERF be ok?

> Use of "else if" in make would bump the minimum required make version to 3.81
> whereas we currently (IIRC) build fine with 3.80.

3.81 is almost ten years old now - it shouldn't be that much of an issue.

Best regards,
Bartosz Golaszewski


More information about the busybox mailing list