Skip to content

Commit

Permalink
fix riscv64 makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zxln007 committed Apr 11, 2024
1 parent 1bbac73 commit 05dc318
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile.riscv64
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ all: exe

.PHONY: exe
exe: $(SOURCES) Makefile
echo "building..."
#swag init -g biz/web/http_server.go
go env -w GO111MODULE=on
go env -w GOPROXY="https://goproxy.io,direct"
# GOOS=linux GOARCH=${ARCH} go build $(OPTIONS) $(LDFLAGS) -o build/$(NAME)
go build $(OPTIONS) $(LDFLAGS) -o build/$(NAME)
echo "building..."
go env -w GO111MODULE=on
go env -w GOPROXY="https://goproxy.io,direct"
go build $(OPTIONS) $(LDFLAGS) -o build/$(NAME)

.PHONY: clean
clean:
Expand Down

0 comments on commit 05dc318

Please sign in to comment.