Skip to content

Commit

Permalink
Fix the go 1.19 build error (megaease#196)
Browse files Browse the repository at this point in the history
* fix the go 1.19 build error

* Update Makefile

Co-authored-by: Kun Zhao <[email protected]>

Co-authored-by: Kun Zhao <[email protected]>
  • Loading branch information
haoel and zhao-kun authored Aug 15, 2022
1 parent 62ea263 commit b59b46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ all: ${TARGET}
${TARGET}: ${SOURCE}
mkdir -p ${RELEASE_DIR}
go mod tidy
CGO_ENABLED=0 go build -a -ldflags '-s -w -extldflags "-static"' -gcflags=-G=3 -o ${TARGET} ${MKFILE_DIR}cmd/easeprobe
CGO_ENABLED=0 go build -a -ldflags '-s -w -extldflags "-static"' -o ${TARGET} github.com/megaease/easeprobe/cmd/easeprobe

build: all

Expand Down

0 comments on commit b59b46b

Please sign in to comment.