# macos: link static libc\+\+ when building stage2 · gitcafe/zig

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

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

Visibility: public

Requested revision: 6c3050e3c3eee19a9de2c912dc653062e5597b67

Requested commit: 6c3050e3c3eee19a9de2c912dc653062e5597b67

Commit: 6c3050e3c3eee19a9de2c912dc653062e5597b67

Tree: 9b49030c385dea1cccf98a06a37ce101faefc10a

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macos: link static libc++ when building stage2

With this change, it is now possible to use zig-bootstrap as the
initial C/C++ compiler, and then build stage2 with the resultant
stage1 without the need to link any system libs!

```

## Parents

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

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