Skip to content

Commit

Permalink
feat: add build snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
zaggash committed Dec 14, 2023
1 parent cff7e4a commit deb250f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/env sh
CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=6 CC="zig cc -target arm-linux-gnueabihf" CXX="zig c++ -target arm-linux-gnueabihf" go build -trimpath -ldflags="-w -s" -o led main.go

0 comments on commit deb250f

Please sign in to comment.