Skip to content

Commit 40ade55

Browse files
author
Alexandr Smirnov
committed
Build for arm-linux-gnueabihf-gcc
1 parent 7d9d236 commit 40ade55

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
dist/
2+
/.idea/vcs.xml
3+
/.idea/.gitignore

.goreleaser.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ before:
77
- go generate ./...
88
builds:
99
- env:
10-
- CGO_ENABLED=0
10+
- CGO_ENABLED=1
11+
- CC=arm-linux-gnueabihf-gcc
12+
- CC_FOR_TARGET=gcc-arm-linux-gnueabihf
1113
binary: os-agent
1214
ldflags:
1315
- -s -w
@@ -16,13 +18,8 @@ builds:
1618
goos:
1719
- linux
1820
goarch:
19-
- 386
20-
- amd64
2121
- arm
22-
- arm64
2322
goarm:
24-
- 5
25-
- 6
2623
- 7
2724

2825
checksum:

0 commit comments

Comments
 (0)