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

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

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

Visibility: public

Requested revision: 40c9ce2caf8f024a249b3524813eb495cf1341b3

Requested commit: 40c9ce2caf8f024a249b3524813eb495cf1341b3

Commit: 40c9ce2caf8f024a249b3524813eb495cf1341b3

Tree: 84dd4cfca306b33956746650155dd14d4e4fafac

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

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

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