fix(lua): Fix build on arm (#1404)

* fix(lua): Fix build on arm

* space instead of comma

lovely makefile syntax
This commit is contained in:
Chaka 2023-06-13 11:03:11 +03:00 committed by GitHub
parent d6e97fcf6d
commit 0dac3da4f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ index d46e650c..e347e614 100644
+uname_m := $(shell uname -m)
+
+# equivalent to: if $(uname_m) == x86_64 || $(uname_m) == amd64
+ifneq (, $(uname_m),x86_64,amd64)
+ifneq (, $(filter $(uname_m),x86_64 amd64))
+OPTFLAGS= -march=sandybridge
+else ifeq ($(uname_m), aarch64)
+OPTFLAGS= -march=armv8.2-a+fp16+rcpc+dotprod+crypto