luajit: fix building for 64-bit targets
authorEric Kinzie <ekinzie@labn.net>
Tue, 11 Jun 2019 17:52:17 +0000 (13:52 -0400)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 26 Aug 2019 01:47:52 +0000 (03:47 +0200)
commitbc0001d5a5c8e36ba6cbabc9b441c6ffc01be1f7
tree93bb19eca5f1207f102fb812b8f84a15cd23973b
parent8893b467ccbc856f3bee7ae2bd19767dbc1e278e
luajit: fix building for 64-bit targets

Host and target architectures need to have the same pointer size.
When building on x86_64, do not force 32-bit host binaries if the target
architecture is also 64-bit.

See http://luajit.org/install.html#cross

Add 64-bit arm (aarch64) to the list of architectures.

Signed-off-by: Eric Kinzie <ekinzie@labn.net>
(cherry-picked from commit 5b0ef0e1b96ac25dd340ac65cb1b54c8f86924ac)
lang/luajit/Makefile