Skip to content

Commit

Permalink
Fix cross-compilation
Browse files Browse the repository at this point in the history
Always use NATIVE_ARCH as GOARCH for go:generate
  • Loading branch information
christos68k committed Jan 2, 2025
1 parent 77da04f commit 7fd7e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ clean:
@rm -rf go .cache

generate:
go generate ./...
GOARCH=$(NATIVE_ARCH) go generate ./...

ebpf:
$(MAKE) $(EBPF_FLAGS) -C support/ebpf
Expand Down

0 comments on commit 7fd7e86

Please sign in to comment.