# stage2: enable building freestanding libc with LLVM backend · gitcafe/zig

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

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

Visibility: public

Requested revision: ef7fa76001f873824b0f64dfc2172ed2f304c348

Requested commit: ef7fa76001f873824b0f64dfc2172ed2f304c348

Commit: ef7fa76001f873824b0f64dfc2172ed2f304c348

Tree: ea739ef9170f446568c6a328ff9428f78c0ad165

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: enable building freestanding libc with LLVM backend

 * LLVM backend: respect `sub_path` just like the other stage2 backends
   do.
 * Compilation has some new logic to only emit work queue jobs for
   building stuff when it believes itself to be capable. The linker
   backends no longer have duplicate logic; instead they respect the
   optional bit on the respective asset.

```

## Parents

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

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