Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
asddongmen committed Feb 7, 2023
1 parent 03e6f46 commit f1628fd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,9 @@ endif
# ref: https://github.com/cloudfoundry/gosigar/issues/58#issuecomment-1150925711
# ref: https://github.com/pingcap/tidb/pull/39526#issuecomment-1407952955
OS := "$(shell go env GOOS)"
ARCH := "$(shell uname -s)"
LINUX := "Linux"
MAC := "Darwin"
ifeq (${ARCH}, ${LINUX})
#ARCH := "$(shell uname -s)"
ifeq (${OS}, "linux")
CGO := 0
else ifeq (${OS}, "linux")
CGO := 0
else ifeq (${ARCH}, ${MAC})
CGO := 1
else ifeq (${OS}, "darwin")
CGO := 1
endif
Expand Down

0 comments on commit f1628fd

Please sign in to comment.