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

Provide libgcc linker script workaround for NDK >= 23 #67

Merged
merged 1 commit into from
Jul 24, 2022

Commits on Jul 24, 2022

  1. Provide libgcc linker script workaround for NDK >= 23

    libgcc was removed from NDK v23 which breaks Rust builds against
    pre-built standard libraries that were linked against libgcc
    instead of libunwind.
    
    As a workaround this ensures that there is a libgcc.a in the
    library search paths which is a linker script that will redirect
    to link with libunwind instead.
    
    The libgcc.a linker script is created under:
    
     target/cargo-ndk/libgcc-workaround/libgcc.a
    
    Fixes: bbqsrc#22
    rib committed Jul 24, 2022
    Configuration menu
    Copy the full SHA
    f2637c8 View commit details
    Browse the repository at this point in the history