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

Fix LTO support for cross-compilation. #14

Merged
merged 1 commit into from Aug 28, 2016
Merged

Commits on Aug 27, 2016

  1. Fix LTO support for cross-compilation.

    When cross-compiling, the ar and ranlib to be used for LTO are prefixed
    by the cross-tuple. gcc-ar and gcc-ranlib may not exist. Cfr.
    http://autobuild.buildroot.net/results/f3c/f3c48da3a9706cd366c0e0a96c3cd0ff959f2a78/
    
    Therefore, search for an appropriate lto-ar and lto-ranlib before
    enabling LTO.
    
    Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
    arnout committed Aug 27, 2016
    Copy the full SHA
    21113e0 View commit details
    Browse the repository at this point in the history