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

[native_toolchain_c] Use sysroot on Android #180

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Conversation

dcharkes
Copy link
Collaborator

@dcharkes dcharkes commented Nov 1, 2023

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.

@auto-submit auto-submit bot merged commit cc42fb1 into main Nov 1, 2023
18 checks passed
@auto-submit auto-submit bot deleted the android-sysroot branch November 1, 2023 16:50
HosseinYousefi pushed a commit that referenced this pull request Nov 16, 2023
Bumps [egor-tensin/setup-clang](https://github.com/egor-tensin/setup-clang) from 1.3 to 1.4.
- [Release notes](https://github.com/egor-tensin/setup-clang/releases)
- [Commits](egor-tensin/setup-clang@01d437c...ef434b4)

---
updated-dependencies:
- dependency-name: egor-tensin/setup-clang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
HosseinYousefi pushed a commit that referenced this pull request Nov 16, 2023
Bumps [egor-tensin/setup-clang](https://github.com/egor-tensin/setup-clang) from 1.3 to 1.4.
- [Release notes](https://github.com/egor-tensin/setup-clang/releases)
- [Commits](egor-tensin/setup-clang@01d437c...ef434b4)

---
updated-dependencies:
- dependency-name: egor-tensin/setup-clang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
HosseinYousefi pushed a commit that referenced this pull request Nov 16, 2023
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants