Fix frozen builds

This commit is contained in:
Kovid Goyal
2022-11-14 15:42:01 +05:30
parent 4316018966
commit c07dc220a8
+1 -1
View File
@@ -897,7 +897,7 @@ def build_kitty_tool(args: Options, launcher_dir: str, for_freeze: bool = False,
cmd = [go, 'build', '-v']
ld_flags = [f"-X 'kitty.VCSRevision={get_vcs_rev_define()}'"]
if for_freeze:
ld_flags.append("-X 'kitty.IsFrozenBuild=true")
ld_flags.append("-X 'kitty.IsFrozenBuild=true'")
if not args.debug:
ld_flags.append('-s')
ld_flags.append('-w')