# improved handling of native system directories · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/fae6cf09619e7a8e64f61b84cca7d9fcd471262f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: fae6cf09619e7a8e64f61b84cca7d9fcd471262f

Requested commit: fae6cf09619e7a8e64f61b84cca7d9fcd471262f

Commit: fae6cf09619e7a8e64f61b84cca7d9fcd471262f

Tree: 373d125e6c7eb97f563af264de62eb48fb6b5baa

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
improved handling of native system directories

 * `-isystem` instead of `-I` for system include directories
   fixes a problem with native system directories interfering with zig's
   bundled libc.
 * separate Stage2Target.is_native into Stage2Target.is_native_os and
   Stage2Target.is_native_cpu.

```

## Parents

- [dd66fbb96a2e1f85e7dacdce18ebc5f85d26d0cc](https://git.cafe/gitcafe/zig/commit/dd66fbb96a2e1f85e7dacdce18ebc5f85d26d0cc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/fae6cf09619e7a8e64f61b84cca7d9fcd471262f?format=markdown)
