1
0
Эх сурвалжийг харах

build: remove netgo and osusergo build tags (fixes #10251) (#10256)

I added these tags as part of the big database PR, but I forget why. I
think it came from an attempt at a static binary using the Go-based
SQLite packages, but that's not the primary build anymore anyway. We can
remove this and go back to the standard resolvers, which gives better
support for primarily Windows and macOS special resolution methods...
Jakob Borg 2 сар өмнө
parent
commit
ffb30392e8

+ 1 - 1
.github/workflows/build-syncthing.yaml

@@ -26,7 +26,7 @@ env:
   BUILD_USER: builder
   BUILD_HOST: github.syncthing.net
 
-  TAGS: "netgo osusergo sqlite_omit_load_extension sqlite_dbstat"
+  TAGS: "sqlite_omit_load_extension sqlite_dbstat"
 
 # A note on actions and third party code... The actions under actions/ (like
 # `uses: actions/checkout`) are maintained by GitHub, and we need to trust

+ 0 - 2
lib/build/build.go

@@ -49,8 +49,6 @@ var (
 	replaceTags = map[string]string{
 		"sqlite_omit_load_extension": "",
 		"sqlite_dbstat":              "",
-		"osusergo":                   "",
-		"netgo":                      "",
 	}
 )