fix: propagate arm64 build support for development builds

This commit is contained in:
Jose Diaz-Gonzalez
2024-01-18 19:19:27 -05:00
parent 3f96a250a2
commit eb6a0dc71d
4 changed files with 10 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
GOARCH ?= amd64
BUILD = pagesize
PLUGIN_NAME = nginx-vhosts
@@ -5,6 +6,6 @@ clean-pagesize:
rm -rf pagesize
pagesize: clean-pagesize **/**/pagesize.go
go build -ldflags="-s -w" $(GO_ARGS) -o pagesize src/pagesize/pagesize.go
GOARCH=$(GOARCH) go build -ldflags="-s -w" $(GO_ARGS) -o pagesize src/pagesize/pagesize.go
include ../../common.mk