Skip to content

Commit

Permalink
fix: rm BUILD_DEPS (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZexiao authored Sep 5, 2022
1 parent e7e3dde commit 19c87b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ endif

GOFLAGS+=-ldflags="$(ldflags)"

wallet: show-env $(BUILD_DEPS)
wallet: show-env
rm -f venus-wallet
go build $(GOFLAGS) -o venus-wallet ./cmd/wallet/main.go
./venus-wallet --version


linux: show-env $(BUILD_DEPS)
linux: show-env
rm -f venus-wallet
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 CC=x86_64-linux-musl-gcc CGO_LDFLAGS="-static" go build $(GOFLAGS) -o venus-wallet ./cmd/wallet/main.go

Expand Down

0 comments on commit 19c87b9

Please sign in to comment.