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