Skip to content

Commit 03f4410

Browse files
authored
Force go to build with amd64 to cover Apple M1 chips (#209)
1 parent d3d8b2b commit 03f4410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/rpdk/go/templates/makebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
.PHONY: build
55
build:
66
cfn generate
7-
env GOOS=linux go build -ldflags="-s -w" -tags="$(TAGS)" -o bin/handler cmd/main.go
7+
env GOARCH=amd64 GOOS=linux go build -ldflags="-s -w" -tags="$(TAGS)" -o bin/handler cmd/main.go

0 commit comments

Comments
 (0)