release: Unify default build tags and linker flags into shared files

Move hardcoded build tags and ldflags from Makefile, Dockerfile, CI
workflows, and local build scripts into canonical files under release/:

- release/DEFAULT_BUILD_TAGS (Linux common archs, Darwin, Android)
- release/DEFAULT_BUILD_TAGS_WINDOWS (includes with_purego)
- release/DEFAULT_BUILD_TAGS_OTHERS (no with_naive_outbound)
- release/LDFLAGS (shared linker flags)
This commit is contained in:
世界
2026-03-02 13:19:57 +08:00
parent 1803471e02
commit 91f92bee49
13 changed files with 114 additions and 33 deletions

1
release/LDFLAGS Normal file
View File

@@ -0,0 +1 @@
-X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0