Skip to content

Commit

Permalink
Merge pull request #4339 from ncopa/fix-armv8-build
Browse files Browse the repository at this point in the history
Fix build on armv8l
  • Loading branch information
ncopa authored Apr 26, 2024
2 parents 0d9ecaf + 03d9c6b commit bd12eff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ include hack/tools/Makefile.variables

ifndef HOST_ARCH
HOST_HARDWARE := $(shell uname -m)
ifneq (, $(filter $(HOST_HARDWARE), aarch64 arm64 armv8l))
ifneq (, $(filter $(HOST_HARDWARE), aarch64 arm64))
HOST_ARCH := arm64
else ifneq (, $(filter $(HOST_HARDWARE), armv7l arm))
else ifneq (, $(filter $(HOST_HARDWARE), armv8l armv7l arm))
HOST_ARCH := arm
else
ifeq (, $(filter $(HOST_HARDWARE), x86_64 amd64 x64))
Expand Down
4 changes: 2 additions & 2 deletions hack/tool/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ifndef HOST_ARCH
HOST_HARDWARE := $(shell uname -m)
ifneq (, $(filter $(HOST_HARDWARE), aarch64 arm64 armv8l))
ifneq (, $(filter $(HOST_HARDWARE), aarch64 arm64))
HOST_ARCH := arm64
else ifneq (, $(filter $(HOST_HARDWARE), armv7l arm))
else ifneq (, $(filter $(HOST_HARDWARE), armv8l armv7l arm))
HOST_ARCH := arm
else
ifeq (, $(filter $(HOST_HARDWARE), x86_64 amd64 x64))
Expand Down

0 comments on commit bd12eff

Please sign in to comment.