Fix frozen builds

This commit is contained in:
Kovid Goyal 2022-09-21 23:29:03 +05:30
parent 4316018966
commit c07dc220a8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

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')