don't need fstage1

This commit is contained in:
Mitchell Hashimoto
2022-10-25 20:55:34 -07:00
parent 7d48e564b5
commit f587b222e7

View File

@ -75,16 +75,12 @@ on the [Zig downloads page](https://ziglang.org/download/).
With Zig installed, a binary can be built using `zig build`:
```shell-session
$ zig build -fstage1
$ zig build
...
$ zig-out/bin/ghostty
```
**Important: you must specify the `-fstage1` flag.** Ghostty can't yet be
built with the self-hosted Zig backend, so we have to use "stage1" (the
C++ LLVM backend).
This will build a binary for the currently running system (if supported).
You can cross compile by setting `-Dtarget=<target-triple>`. For example,
`zig build -Dtarget=aarch64-macos` will build for Apple Silicon macOS. Note