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

zig cc: integration with sysroot arg #10568

Merged
merged 1 commit into from Jan 11, 2022
Merged

Conversation

kubkon
Copy link
Member

@kubkon kubkon commented Jan 11, 2022

Prior to this change, even if the use specified the sysroot on the
compiler line like so

zig cc --sysroot=/path/to/sdk

it would only be used as a prefix to include paths and not as a prefix
for zig ld linker.

Prior to this change, even if the use specified the sysroot on the
compiler line like so

```
zig cc --sysroot=/path/to/sdk
```

it would only be used as a prefix to include paths and not as a prefix
for `zig ld` linker.
@andrewrk andrewrk merged commit 6d9c02a into master Jan 11, 2022
@andrewrk andrewrk deleted the expose-sysroot-from-clang branch January 11, 2022 17:41
@andrewrk andrewrk changed the title zig cc: expose sysroot arg to zig build system zig cc: integration with sysroot arg Jan 11, 2022
andrewrk pushed a commit that referenced this pull request Jan 12, 2022
Prior to this change, even if the use specified the sysroot on the
compiler line like so

```
zig cc --sysroot=/path/to/sdk
```

it would only be used as a prefix to include paths and not as a prefix
for `zig ld` linker.
scorphus pushed a commit to scorphus/zig that referenced this pull request Jan 15, 2022
Prior to this change, even if the use specified the sysroot on the
compiler line like so

```
zig cc --sysroot=/path/to/sdk
```

it would only be used as a prefix to include paths and not as a prefix
for `zig ld` linker.
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.

None yet

2 participants