HomuHomu833/android-ndk-custom
Android NDK with custom LLVM built using various libc's, supporting multiple architectures and platforms.
Android NDK Custom is a custom-built Android NDK that replaces the default toolchain with a rebuilt LLVM and related binaries.
It integrates alternative libc implementations like musl (via Zig), Cosmopolitan, Bionic (from the official Android NDK), and llvm-mingw to provide a more flexible and portable build environment.
This project is inspired by Zongou’s build system.
Platforms
Architectures
x86, x86_64armhf, armeb, aarch64, aarch64_beriscv32, riscv64powerpc, powerpc64, powerpc64lemips, mipsel, mips64, mips64elthumb, thumbebloongarch64, s390xPlatforms
Architectures
x86_64aarch64Platforms
Architectures
x86, x86_64armv7a (Android-only)aarch64This custom NDK works as a drop-in replacement for the standard Android NDK. Simply extract the archive and use it in your build setup just as you would with the official version.
This project is licensed under the MIT License. See the LICENSE file for more details.
Feel free to open pull requests or issues if you have any contributions or feedback!