Skip to content

Commit 94ac747

Browse files
authored
Merge pull request #1530 from alibaba/revert-1484-resize_binary
Revert "hack.build: reduce the size of pouch and pouchd binaries"
2 parents 6f72589 + 827cf43 commit 94ac747

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hack/build

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,13 @@ function server()
3838
cd $BUILDPATH/src/github.com/alibaba/pouch
3939
echo "GOOS=linux $GOBUILD -o $BINARY_NAME"
4040
GOOS=linux $GOBUILD -ldflags "${GOLDFLAGS}" -o $BINARY_NAME -tags 'selinux'
41-
[ -f $(which strip) ] && strip -s $BINARY_NAME
4241
}
4342

4443
function client()
4544
{
4645
cd $BUILDPATH/src/github.com/alibaba/pouch
4746
echo "$GOBUILD -o $CLI_BINARY_NAME github.com/alibaba/pouch/cli"
4847
$GOBUILD -o $CLI_BINARY_NAME github.com/alibaba/pouch/cli
49-
[ -f $(which strip) ] && strip -s $CLI_BINARY_NAME
5048
}
5149

5250
#

0 commit comments

Comments
 (0)