12 lines
561 B
Diff
12 lines
561 B
Diff
|
--- setup.py 2023-04-21 03:40:01.000000000 -0400
|
||
|
+++ setup.py.smb 2023-06-29 16:46:28.129796837 -0400
|
||
|
@@ -914,7 +914,7 @@
|
||
|
raise SystemExit(f'The version of go on this system ({current_go_version}) is too old. go >= {required_go_version} is needed')
|
||
|
if not for_platform:
|
||
|
update_go_generated_files(args, os.path.join(launcher_dir, appname))
|
||
|
- cmd = [go, 'build', '-v']
|
||
|
+ cmd = [go, 'build', '-buildmode=pie', '-v']
|
||
|
vcs_rev = args.vcs_rev or get_vcs_rev()
|
||
|
ld_flags = [f"-X 'kitty.VCSRevision={vcs_rev}'"]
|
||
|
if for_freeze:
|