From 9a09b793b4629f1e86807332fb762f84b114430b Mon Sep 17 00:00:00 2001 From: Andy Dunstall Date: Mon, 25 Sep 2023 17:31:51 +0100 Subject: [PATCH] feat(build): fix lua on mac arm64 (#1930) --- patches/lua-v5.4.4.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/lua-v5.4.4.patch b/patches/lua-v5.4.4.patch index f603ccb1e..dc6d20e6c 100644 --- a/patches/lua-v5.4.4.patch +++ b/patches/lua-v5.4.4.patch @@ -32,7 +32,7 @@ index d46e650c..c27e5677 100644 +# equivalent to: if $(uname_m) == x86_64 || $(uname_m) == amd64 +ifneq (, $(filter $(uname_m),x86_64 amd64)) +OPTFLAGS= -march=sandybridge -+else ifeq ($(uname_m), aarch64) ++else ifneq (, $(filter $(uname_m),aarch64 arm64)) +OPTFLAGS= -march=armv8.2-a+fp16+rcpc+dotprod+crypto +else ifeq ($(uname_m), s390x) +OPTFLAGS= -march=native