# fix compile error on gcc 7.3.0 · gitcafe/zig

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

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

Visibility: public

Requested revision: 9a123697e30a15a178767d7bb9237528044c129d

Requested commit: 9a123697e30a15a178767d7bb9237528044c129d

Commit: 9a123697e30a15a178767d7bb9237528044c129d

Tree: fb1aed31b7d0eb7f5e2124f8ccb7c0a5c1945cdc

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix compile error on gcc 7.3.0

Only set -Werror for debug builds, and only for zig itself, not for
embedded LLD.

See #1474

```

## Parents

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

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