Skip to content

Commit

Permalink
Makefile: allow docker targets to work on macOS (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
athre0z authored Apr 18, 2024
1 parent b002609 commit b9b8d74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ UNAME_NATIVE_ARCH:=$(shell uname -m)

ifeq ($(UNAME_NATIVE_ARCH),x86_64)
NATIVE_ARCH:=amd64
else ifeq ($(UNAME_NATIVE_ARCH),aarch64)
else ifneq (,$(filter $(UNAME_NATIVE_ARCH),aarch64 arm64))
NATIVE_ARCH:=arm64
else
$(error Unsupported architecture: $(UNAME_NATIVE_ARCH))
Expand Down
2 changes: 1 addition & 1 deletion support/ebpf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ NATIVE_ARCH:=$(shell uname -m)

ifeq ($(NATIVE_ARCH),x86_64)
NATIVE_ARCH:=x86
else ifeq ($(NATIVE_ARCH),aarch64)
else ifneq (,$(filter $(NATIVE_ARCH),aarch64 arm64))
NATIVE_ARCH:=arm64
else
$(error Unsupported architecture: $(NATIVE_ARCH))
Expand Down

0 comments on commit b9b8d74

Please sign in to comment.