Skip to content

Commit b17945f

Browse files
Remove reduntant flags during build
1 parent e995c60 commit b17945f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function buildstatic() {
1919
local plugin_name=$4
2020

2121
echo "building static for $platform $arch"
22-
CGO_ENABLED=0 GOOS=$platform GOARCH=$arch go build -a -tags netgo \
23-
-ldflags "-w -extldflags \"-static\" -X main.Version=${version}" \
22+
CGO_ENABLED=0 GOOS=$platform GOARCH=$arch go build -a \
23+
-ldflags "-w -X main.Version=${version}" \
2424
-o "${plugin_name}"
2525
}
2626

0 commit comments

Comments
 (0)