# zig cc: add \-\-hash-style linker parameter · gitcafe/zig

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

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

Visibility: public

Requested revision: 7e61bdbaa48dcf3a280c5c9a6b10c26ef4f687d5

Requested commit: 7e61bdbaa48dcf3a280c5c9a6b10c26ef4f687d5

Commit: 7e61bdbaa48dcf3a280c5c9a6b10c26ef4f687d5

Tree: 0cb022593e96d3cbb08f0a6a1812e6a62ccc68b9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig cc: add --hash-style linker parameter

This is only relevant for ELF files.

I also fixed a bug where passing a zig source file to `zig cc` would
incorrectly punt to clang because it thought there were no positional
arguments.

```

## Parents

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

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