# stage1: enable PIC for libuserland · gitcafe/zig

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

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

Visibility: public

Requested revision: 7688100b1770a7d688348b8f31282c3a6a69e9f9

Requested commit: 7688100b1770a7d688348b8f31282c3a6a69e9f9

Commit: 7688100b1770a7d688348b8f31282c3a6a69e9f9

Tree: 275a30275dea55527cecd32a827b2c719db28196

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage1: enable PIC for libuserland

we don't really have a way to determine whether the stage1
zig compiler requires PIC so to be safe we always enable it
when building libuserland.

fixes build on some configurations of alpine linux.

```

## Parents

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

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