# zig cc: fix ambiguity with \-MT · gitcafe/zig

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

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

Visibility: public

Requested revision: f8cc6a191723d763fc7a8908f3e5beb4eff8317f

Requested commit: f8cc6a191723d763fc7a8908f3e5beb4eff8317f

Commit: f8cc6a191723d763fc7a8908f3e5beb4eff8317f

Tree: 0c551d4be6f9b3de844d74040fd39443ecb592c8

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig cc: fix ambiguity with -MT

In an MSVC context, `-MT` means
"Use static run-time"
and it is a flag with no parameter.

On POSIX it means
"Specify name of main file output in depfile"
and it is "joined or separate".

The former was interfering with the latter. Now, the MT flag is required
to be specified with a `/` to disambiguate: `/MT`.

```

## Parents

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

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