Skip to content

Commit

Permalink
dont use GOARCH it was being a pain
Browse files Browse the repository at this point in the history
  • Loading branch information
radiosilence committed Apr 8, 2024
1 parent 10b3dbc commit 6df07cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
PKGOS=linux
PKGARCH=amd64
PKGNAME=nano-web
PKGVERSION:=$(shell ./scripts/get-version.sh)
PKGRELEASE=$(PKGNAME)_$(PKGVERSION)
Expand All @@ -10,7 +9,7 @@ pkg-clean:
rm -rf $(RELEASEDIR)

pkg-build:
GOOS=$(PKGOS) GOARCH=$(PKGARCH) go build -o $(PKGDIR)/$(PKGNAME) main.go
GOOS=$(PKGOS) go build -o $(PKGDIR)/$(PKGNAME) main.go

pkg-create: pkg-clean
mkdir -p $(PKGDIR)/sysroot
Expand Down

0 comments on commit 6df07cf

Please sign in to comment.