just compile on the pi like this and it'll work. CC'ing is a lot of work
This commit is contained in:
parent
1829dfb466
commit
fc516343ed
6
Makefile
6
Makefile
@ -1,10 +1,6 @@
|
|||||||
FLAGS=-v -buildvcs=true
|
FLAGS=-v -buildvcs=true
|
||||||
ARM_FLAGS2=GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc CC_FOR_TARGET=aarch64-linux-gnu-gcc
|
|
||||||
ARM_FLAGS=GOOS=linux GOARCH=arm
|
|
||||||
|
|
||||||
all:
|
all:
|
||||||
go build $(FLAGS)
|
go build $(FLAGS)
|
||||||
raspberry:
|
|
||||||
CGO_ENABLED=1 $(ARM_FLAGS) go build $(FLAGS) -o th7_pi
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf th7 th7_pi
|
rm -rf th7
|
Loading…
Reference in New Issue
Block a user