It is AMD64. And, I made the following changes in lua-5.2.2/src/Makefie:
diff --git a/src/Makefile b/src/Makefile index fea895b..c268ba4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -6,10 +6,10 @@ # Your platform. See PLATS for possible values. PLAT= none