Skip to content

In clang 11.0 and newer, use a relative sysroot path. #171

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

Merged
merged 1 commit into from
Jan 30, 2021

Conversation

sunfishcode
Copy link
Member

This makes use of https://reviews.llvm.org/D76653, which is in clang 11
and newer, to fix #53. With this, clang can find the sysroot relative to
its own path.

Fixes #58.

This makes use of https://reviews.llvm.org/D76653, which is in clang 11
and newer, to fix #53. With this, clang can find the sysroot relative to
its own path.

Fixes #58.
@pchickey
Copy link
Collaborator

thank you @sbc100 for this upstream fix!

@sbc100
Copy link
Member

sbc100 commented Jan 29, 2021

Sweet!

@sunfishcode sunfishcode merged commit 14d7b78 into main Jan 30, 2021
@sunfishcode sunfishcode deleted the sunfishcode/relative-sysroot branch January 30, 2021 18:18
kildom pushed a commit to kildom/clang-wasi-port that referenced this pull request Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can we have clang find the sysroot using a relative path?
3 participants