Skip to content

Commit

Permalink
add loong64 support for go-fastdfs
Browse files Browse the repository at this point in the history
Signed-off-by: Wenlong Zhang <[email protected]>
  • Loading branch information
zhangwenlong8911 authored and sjqzhang committed Aug 12, 2023
1 parent 12685b9 commit 876ae95
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ PROTO_SRC_PATH =${ROOT_DIR}/rpc
ALL_LINUX = linux-amd64 \
linux-386 \
linux-arm \
linux-arm64
linux-arm64 \
linux-loong64

ALL = $(ALL_LINUX) \
darwin-amd64 \
Expand All @@ -50,4 +51,4 @@ vet:
go vet main.go

linux:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ${BUILD_DIR}/${APP_NAME} -ldflags "-w -s -X 'main.VERSION=${VERSION_MASTER}' -X 'main.GO_VERSION=${GO_VERSION}' -X 'main.GIT_VERSION=${COMMIT}' -X 'main.BUILD_TIME=${BUILDDATE}'" main.go
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ${BUILD_DIR}/${APP_NAME} -ldflags "-w -s -X 'main.VERSION=${VERSION_MASTER}' -X 'main.GO_VERSION=${GO_VERSION}' -X 'main.GIT_VERSION=${COMMIT}' -X 'main.BUILD_TIME=${BUILDDATE}'" main.go

0 comments on commit 876ae95

Please sign in to comment.