summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.goreleaser.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 7f3b564e..90969ce2 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -9,7 +9,10 @@ builds:
- id: gobgp
main: ./cmd/gobgp/
binary: gobgp
- ldflags: -s -extldflags "-static"
+ flags:
+ - -a
+ - -tags=netgo
+ ldflags: -s
goos:
- linux
goarch:
@@ -21,7 +24,10 @@ builds:
- id: gobgpd
main: ./cmd/gobgpd/
binary: gobgpd
- ldflags: -s -extldflags "-static"
+ flags:
+ - -a
+ - -tags=netgo
+ ldflags: -s
goos:
- linux
goarch: