mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Don't build with LTO on Windows
This commit is contained in:
@ -251,6 +251,10 @@ pub fn build(b: *std.Build) !void {
|
||||
);
|
||||
}
|
||||
|
||||
// Building with LTO on Windows is broken.
|
||||
// https://github.com/ziglang/zig/issues/15958
|
||||
if (target.isWindows()) exe.want_lto = false;
|
||||
|
||||
// If we're installing, we get the install step so we can add
|
||||
// additional dependencies to it.
|
||||
const install_step = if (app_runtime != .none) step: {
|
||||
|
Reference in New Issue
Block a user