Project not found: home:tiwai:bsc1223194

File go-buildmode-pie.diff of Package kitty

--- setup.py.smb	2023-12-18 11:14:13.450378922 -0500
+++ setup.py	2023-12-18 11:14:56.080497688 -0500
@@ -978,7 +978,7 @@
     if args.skip_building_kitten:
         print('Skipping building of the kitten binary because of a command line option. Build is incomplete', file=sys.stderr)
         return ''
-    cmd = [go, 'build', '-v']
+    cmd = [go, 'build', '-buildmode=pie', '-v']
     vcs_rev = args.vcs_rev or get_vcs_rev()
     ld_flags: List[str] = []
     binary_data_flags = [f"-X kitty.VCSRevision={vcs_rev}"]
openSUSE Build Service is sponsored by