just compile on the pi like this and it'll work. CC'ing is a lot of work

This commit is contained in:
William Clark 2023-11-21 23:21:29 +00:00
parent 1829dfb466
commit fc516343ed

View File

@ -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