# zig cc: add \-Wno-overriding-t-option to clang on darwin · gitcafe/zig

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

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

Visibility: public

Requested revision: 8484df5bd26350ccfd4d2a5da5aeaed923901ae5

Requested commit: 8484df5bd26350ccfd4d2a5da5aeaed923901ae5

Commit: 8484df5bd26350ccfd4d2a5da5aeaed923901ae5

Tree: b4520d4d7092d620d0cda72ab20cfec2ccabe373

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig cc: add -Wno-overriding-t-option to clang on darwin

This avoids a warning that sometimes occurs when providing both a
-target argument that contains a version as well as the
-mmacosx-version-min argument. Zig provides the correct value in both
places, so it doesn't matter which one gets overridden.

```

## Parents

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

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