Fix frozen builds
This commit is contained in:
parent
4316018966
commit
c07dc220a8
2
setup.py
2
setup.py
@ -897,7 +897,7 @@ def build_kitty_tool(args: Options, launcher_dir: str, for_freeze: bool = False,
|
|||||||
cmd = [go, 'build', '-v']
|
cmd = [go, 'build', '-v']
|
||||||
ld_flags = [f"-X 'kitty.VCSRevision={get_vcs_rev_define()}'"]
|
ld_flags = [f"-X 'kitty.VCSRevision={get_vcs_rev_define()}'"]
|
||||||
if for_freeze:
|
if for_freeze:
|
||||||
ld_flags.append("-X 'kitty.IsFrozenBuild=true")
|
ld_flags.append("-X 'kitty.IsFrozenBuild=true'")
|
||||||
if not args.debug:
|
if not args.debug:
|
||||||
ld_flags.append('-s')
|
ld_flags.append('-s')
|
||||||
ld_flags.append('-w')
|
ld_flags.append('-w')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user