Skip to content

Commit 28f016c

Browse files
committed
strip syms and debug info
Signed-off-by: EaseWay Hu <[email protected]>
1 parent 2957233 commit 28f016c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ build() {
7777
mkdir -p $(dirname $OUT)
7878
CGO_ENABLED=0 go build -o $OUT \
7979
-a -tags "static_build netgo" -installsuffix netgo \
80-
-ldflags "-X main.VersionSuffix=$(versuffix) -extldflags -static" \
80+
-ldflags "-s -w -X main.VersionSuffix=$(versuffix) -extldflags -static" \
8181
.
8282

8383
PKG=bin/hmake

0 commit comments

Comments
 (0)