# stage2: support environment variables for verbose options · gitcafe/zig

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

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

Visibility: public

Requested revision: 98b24aa47f98d9c70d1e152228ac89dd41e0f637

Requested commit: 98b24aa47f98d9c70d1e152228ac89dd41e0f637

Commit: 98b24aa47f98d9c70d1e152228ac89dd41e0f637

Tree: ac089158784ff211ad44a726b801519e4fdac126

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: support environment variables for verbose options

The presence of ZIG_VERBOSE_LINK now enables --verbose-link.
The presence of ZIG_VERBOSE_CC now enables --verbose-cc.

These are useful when debugging usage of `zig cc` which does not have
CLI flags for these options, since they are not valid C compiler flags.

```

## Parents

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

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