# llvm: force \`TargetOptions.UseInitArray\` to \`true\` · gitcafe/zig

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

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

Visibility: public

Requested revision: f4f5b2bc41e09ed68caf3c839433e44bd9b33249

Requested commit: f4f5b2bc41e09ed68caf3c839433e44bd9b33249

Commit: f4f5b2bc41e09ed68caf3c839433e44bd9b33249

Tree: 27e0b314e63c8dd7d248a7e7f1fdd1a04042d2cf

Author: Jacob Young

Committer: Andrew Kelley

## Message

```
llvm: force `TargetOptions.UseInitArray` to `true`

The `TargetOptions` default constructor initializes all `bool`s to
`false`, yet clang defaults to setting this option to `true`.  Since
recent glibc versions on linux do not appear to support this being set
to `false`, just changing the default for now unless a use case for
making it configurable is found.

```

## Parents

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

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