-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try building only static executables for Linux/*BSD
It appears Go toolchain silently uses netgo+osusergo+static if cross-compiling but provides dynamicaly-linked executable for native arch. Keeping track of all Linux and *BSD sysroots is impractical so lets ship static executables where possible. They may bot honor system DNS resolver but at least they work everywhere. Signed-off-by: Vasyl Gello <[email protected]>
- Loading branch information
1 parent
fef083a
commit 5a87e43
Showing
1 changed file
with
35 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters