# Revert "adding \`static\` and \`dynamic\` ZigEquivalent · gitcafe/zig

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

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

Visibility: public

Requested revision: 4f9345d20b3b95a1ccfe894bddd8ba5879c10c31

Requested commit: 4f9345d20b3b95a1ccfe894bddd8ba5879c10c31

Commit: 4f9345d20b3b95a1ccfe894bddd8ba5879c10c31

Tree: 65922fdc968b359fa73cce0a1ae1aa2cef3a18eb

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Revert "adding `static` and `dynamic` ZigEquivalent

enums so that we can branch to set `link_mode` properly when we iterate
over the clang arguments. also replaced `dynamic` flag in
clang_options_data.zig with proper definition similarly to `static`."

This reverts commit 6af0eeb58d1d220d407ce4c463eaeb25b35f2761.

This change needs more careful consideration. It regressed
zig-bootstrap due to cmake passing `-static -lkernel32` and zig failing
with error.UnableToStaticLink.

See https://github.com/ziglang/zig-bootstrap/issues/134

```

## Parents

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

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