# Compilation: Use the regular module mechanism for setting PIC on CRT objects\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 4c70aea460d0cf4a5c1f77ec662837680e272220

Requested commit: 4c70aea460d0cf4a5c1f77ec662837680e272220

Commit: 4c70aea460d0cf4a5c1f77ec662837680e272220

Tree: f20b65234d2f7e949d18fdd9d4f54c39924c65f3

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
Compilation: Use the regular module mechanism for setting PIC on CRT objects.

addCCArgs() will then pass the appropriate flag to Clang.

```

## Parents

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

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