mirror of
https://gitee.com/sjqzhang/go-fastdfs.git
synced 2024-11-29 17:57:41 +08:00
add loong64 support for go-fastdfs
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
This commit is contained in:
parent
12685b9c5f
commit
876ae9526b
5
Makefile
5
Makefile
@ -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 \
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user