Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 11afd63d authored by Wei Wang's avatar Wei Wang Committed by Jan Altensen
Browse files

ANDROID: disable CONFIG_CC_OPTIMIZE_FOR_SIZE



CONFIG_CC_OPTIMIZE_FOR_SIZE is set on moderm android devices.
Originally this config was set with the assumption that smaller
code size would yield hot cache lines and faster code, however,
that's not the case today.

On marlin I see >150ms boot time speed up with turning off this CONFIG.
Also with CONFIG_CC_OPTIMIZE_FOR_SIZE set, we suppressed the compiler
warning of unused variables which can lead undefined behavior e.g.
memory corruption and panic.

Bug: 33353384
Test: On marlin
Signed-off-by: default avatarWei Wang <wvw@google.com>
Change-Id: Ib127ede04e700650b97541d6cca16da659f45c69
parent 4f496b5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment