Skip to content

Commit

Permalink
Disable CGO
Browse files Browse the repository at this point in the history
  • Loading branch information
punmechanic committed Nov 12, 2024
1 parent 21e9853 commit 12476b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ build/list_applications.zip:
mkdir -p build
# A temporary destination is used because we don't want multiple targets run at the same time to conflict - they all have to be named 'bootstrap'
TMP_DST=$$(mktemp -d) ;\
GOOS=linux GOARCH=amd64 go build \
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \
-tags lambda.norpc \
-o $$TMP_DST/bootstrap lambda/$(subst .zip,,$(notdir $@))/main.go && \
(cd $$TMP_DST && zip - bootstrap) > $@
Expand Down

0 comments on commit 12476b7

Please sign in to comment.