gollvm: add missing dependency in libgo cmake rules

The cmake rules for emitting *_linknames.go were missing a dependency
on gen-sysinfo.go, making it possible for this rule to fire before
that file is created; fix is to add in the file as an explicit dependency.

Fixes golang/go#42651.

Change-Id: I89122708078af64635c885a26b1473cc9fb0f36d
Reviewed-on: https://go-review.googlesource.com/c/gollvm/+/270797
Trust: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
diff --git a/libgo/CMakeLists.txt b/libgo/CMakeLists.txt
index 76b2aea..31cd4a5 100644
--- a/libgo/CMakeLists.txt
+++ b/libgo/CMakeLists.txt
@@ -359,7 +359,7 @@
   set(pklinknamesdotgo "${libgo_binroot}/${ptarget}_linknames.go")
   get_filename_component(pkbase "${pack}" NAME)
   generate_go_from_script(${pklinknamesdotgo} ${mklinknamessh} ${goos} ${goarch}
-                          ${libgo_binroot} DEP ${awkfile} ${pkgofiles}
+                          ${libgo_binroot} DEP ${awkfile} ${pkgofiles} ${gensysinfodotgo}
 			  ${libcallsdotgo} SCRIPTARGS ${awk} ${lnawkfile}
 			  ${pkgofiles} ${pklinknamestmp} ${pkbase})
 endforeach()