Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu/cortexm_common: enable LTO by default #14795

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 19, 2020

  1. makefiles/cflags.inc.mk: remove LTO warning

    The feature has been in place for 4 years now, let's remove the warning.
    benpicco committed Aug 19, 2020
    Configuration menu
    Copy the full SHA
    5dd8d89 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. cpu/cortexm_common: enable LTO by default

    LTO support in GCC should be pretty mature by now, to a point where
    Fedora enables it by default for all packages[0].
    
    Let's follow suit by enabling LTO for our Cortex-M target.
    This is the most mature target and is well-tested regularly.
    So if any issues are caused by this, they should pop up fairly quick.
    
    [0] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/CQEI3UGK5HSHZ7JHE7NRTQHBWQYWA5HM/
    benpicco committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    4a40535 View commit details
    Browse the repository at this point in the history