mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
![Mike Hommey](/assets/img/avatar_default.png)
-Os generates smaller code, at the expense of performance. On desktop, this tradeoff is not necessarily the best, especially when considering the vast performance difference. Most downstream redistributors also don't do PGO and don't override defaults, so they would tend to ship slower builds as a consequence. We however keep -Os as default for debug builds for now, because -O2 triggers -Werror=strict-overflow failures somehow. --HG-- extra : rebase_source : ad2f4fedb7934b6b23b84412c86b30d29a8fb5f8