summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.goreleaser.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 7ec89d72..91690068 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -4,6 +4,7 @@
builds:
- main: ./cmd/gobgp/
binary: gobgp
+ ldflags: -s -extldflags "-static"
goos:
- linux
goarch:
@@ -14,6 +15,7 @@ builds:
- main: ./cmd/gobgpd/
binary: gobgpd
+ ldflags: -s -extldflags "-static"
goos:
- linux
goarch: