Skip to content

Commit

Permalink
allow to override aarch64-linux-gnu-gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-m committed Jun 22, 2024
1 parent 8c4a8d0 commit baa1923
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ build_host:
go build -o build/confighelper ./cmd/confighelper
go build -o build/pmatch ./examples/pmatch

TRAINBOT_AARCH_CROSS ?= aarch64-linux-gnu-gcc
build_arm64: export CGO_ENABLED=1
build_arm64: export CC=aarch64-linux-gnu-gcc
build_arm64: export CC=$(TRAINBOT_AARCH_CROSS)
build_arm64: export GOOS=linux
build_arm64: export GOARCH=arm64
build_arm64: export GOARM=7
Expand Down

0 comments on commit baa1923

Please sign in to comment.