Skip to content

Disable libclang_rt linking #1662

@0komo

Description

@0komo

Hello, I'm trying to cross-compile rusty_v8 for Android platform. But I encounter an error while trying to cross-build it.

  ninja: error: '../../../../../../_cache/android-r27c-api-24-v1/sysroot/usr/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a', needed by 'clang_x64_v8_arm64/obj/v8/libv8_libbase.a', missing and no known rule to make it

It tries to find the libclang_rt which the clang toolchain I provided didn't have that for some reason, but instead it has an alternative which is libgcc (cc -print-libgcc-file-name). Is there a way to disable that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions