Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[native_toolchain_c] Use sysroot on Android (#180)
Addresses: #165 (comment) This is in line with what CMake does, so it's probably a more reasonable thing to do than `-nostartfiles`. The documentation says the sysroot should be auto-discovered on NDKs newer than 22, but it doesn't seem to break the newer versions, so maybe lets just keep the logic consistent for various NDK versions. We probably need a workaround for #165 temporarily.
- Loading branch information